fitted is a generic function which extracts model predictions from objects returned by modelling functions
# S3 method for SaemixRes
fitted(object, type = c("ipred", "ypred", "ppred", "icpred"), ...)# S3 method for SaemixObject
fitted(object, type = c("ipred", "ypred", "ppred", "icpred"), ...)
Model predictions
an object of type SaemixRes or SaemixObject
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