Learn R Programming

saemix (version 3.3)

fitted.saemix: Extract Model Predictions

Description

fitted is a generic function which extracts model predictions from objects returned by modelling functions

Usage

# S3 method for SaemixRes
fitted(object, type = c("ipred", "ypred", "ppred", "icpred"), ...)

# S3 method for SaemixObject fitted(object, type = c("ipred", "ypred", "ppred", "icpred"), ...)

Value

Model predictions

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