fitted.msel {switchSelection} | R Documentation |
Extract Model Fitted Values
Description
Extracts fitted values from 'msel' object
Usage
## S3 method for class 'msel'
fitted(object, ..., newdata = NULL)
Arguments
object |
object of class 'msel'. |
... |
further arguments (currently ignored). |
newdata |
an optional data frame in which to look for variables with which to predict. If omitted, the original data frame used. This data frame should contain values of dependent variables even if they are not actually needed for prediction (simply assign them with 0 values). |
Value
Returns a numeric matrix. Its columns which names coincide with the names of the ordinal and multinomial equations provide the index of the most probable category for each observation. Columns which names coincide with the names of the continuous equations provide conditional expectations of the dependent variables in observable regimes for each observation.
[Package switchSelection version 2.0.0 Index]