The Rcpp interface for Dmultinom to instantiate from R: dmultinom_ <- methods::new(DmultinomDistribution).
More...
|
|
ParameterVector | x |
| | Observed data, which should be a vector of length K of integers.
|
| |
|
ParameterVector | expected_values |
| | The expected values, which should be a vector of length K where each value specifies the probability of class k. Note that, unlike in R, these probabilities must sum to 1.0.
|
| |
|
RealVector | dims |
| | The dimensions of the number of rows and columns of the multivariate dataset.
|
| |
| RealVector | lpdf_vec |
| | Vector that records the individual log probability function for each observation.
|
| |
|
SharedString | notes |
| | TODO: document this.
|
| |
|
uint32_t | id_m |
| | The local ID of the DistributionsInterfaceBase object.
|
| |
|
std::shared_ptr< std::vector< uint32_t > > | key_m |
| | The unique ID for the variable map that points to a fims::Vector.
|
| |
|
SharedString | input_type_m |
| | The type of density input. The options are prior, re, or data.
|
| |
| SharedString | use_mean_m = fims::to_string("no") |
| | Control flag indicating whether to use the expected mean in the distribution calculations.
|
| |
|
SharedInt | interface_observed_data_id_m = -999 |
| | The ID of the observed data object, which is set to -999.
|
| |
|
double | lpdf_value = 0 |
| | The log probability density function value.
|
| |
|
bool | finalized = false |
| | Is the object already finalized? The default is false.
|
| |
The Rcpp interface for Dmultinom to instantiate from R: dmultinom_ <- methods::new(DmultinomDistribution).