Methods for function predict
# S4 method for SaemixObject
predict(
object,
newdata = NULL,
type = c("ipred", "ypred", "ppred", "icpred"),
se.fit = FALSE,
...
)
a vector or a dataframe (if more than one type) with the corresponding predictions for each observation in the dataframe
an SaemixObject
an optional dataframe for which predictions are desired. If newdata is given, it must contain the predictors needed for the model in object
the type of predictions (ipred= individual, ppred=population predictions obtained with the population estimates, ypred=mean of the population predictions, icpred=conditional predictions). With newdata, individual parameters can be estimated if the new data contains observations; otherwise, predictions correspond to the population predictions ppred, and type is ignored.
whether the SE are to be taken into account in the model predictions
additional arguments passed on to fitted()
Default predict functions
Computes predictions using the results of an SAEM fit