View source: R/glogitform.R View source: R/glogitform.R
Four kind of variables are used in multinomial choice models with individual heterogeneity: alternative
specific and individual specific variables; variables for the mean of the random parameters (deterministic taste variations), and variables
for the scale function. gFormula
deals with this type of models using suitable methods to extract
the elements of the model.
1 2 3 4 5 6 7 8 9 | gFormula(object)
is.gFormula(object)
## S3 method for class 'gFormula'
model.frame(formula, data, ..., lhs = NULL, rhs = NULL)
## S3 method for class 'gFormula'
model.matrix(object, data, rhs = NULL, Q = NULL, ...)
|
object |
a formula for the |
formula |
a |
data |
a |
... |
further arguments. |
lhs |
see |
rhs |
see |
Q |
number of classes for the latent class model, |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.