Description Arguments Details Value Examples
A multinomial logit model
Initialisation function
This predict method returns probabilities generated from the parameters of this Model object.
params |
a named numeric vector. |
formula |
a |
preprocessing_fn |
a pre-processing function that gets applied to the
data given to the |
newdata |
( |
chooser_id_col |
( |
choice_id_col |
( |
This model object is use to create a multinomial model using already estimated parameters.
a data.frame
object with three columns: chooser_id (integer()
),
choice_id (integer()
), linear_comb (numeric()
), prob (numeric()
). Note
that, 'linear_comb' stands for linear combination (i.e. $$B1 * x1 + B2 * x2$$).
1 2 3 4 | if (requireNamespace("mlogit")) {
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.