fitted.saemix {saemix} | R Documentation |
Extract Model Predictions
Description
fitted is a generic function which extracts model predictions from objects returned by modelling functions
Usage
## S3 method for class 'SaemixRes'
fitted(object, type = c("ipred", "ypred", "ppred", "icpred"), ...)
## S3 method for class 'SaemixObject'
fitted(object, type = c("ipred", "ypred", "ppred", "icpred"), ...)
Arguments
object |
an object of type SaemixRes or SaemixObject |
type |
string determining which predictions are extracted. Possible values are: "ipred" (individual predictions obtained using the mode of the individual distribution for each subject, default), "ppred" (population predictions obtained using the population parameters f(E(theta))), "ypred" (mean of the population predictions (E(f(theta)))) and "icpred" (individual predictions obtained using the conditional mean of the individual distribution). See user guide for details. |
... |
further arguments to be passed to or from other methods |
Value
Model predictions
[Package saemix version 3.3 Index]