rFormula {Rchoice} | R Documentation |
Model formula for Rchoice models
Description
Two kind of variables are used in models with individual heterogenetiy: the typical
variables that enter in the latent process and those variables that enter in the random
parameter (Hierarchical Model). rFormula
deal with this type of models using
suitable methods to extract the elements of the model.
Usage
rFormula(object)
is.rFormula(object)
## S3 method for class 'rFormula'
model.frame(formula, data, ..., lhs = NULL, rhs = NULL)
## S3 method for class 'rFormula'
model.matrix(object, data, rhs = NULL, ...)
Arguments
object |
a formula form the |
formula |
a |
data |
a |
... |
further arguments. |
lhs |
see |
rhs |
see |
[Package Rchoice version 0.3-6 Index]