predict-methods | R Documentation |
Methods for function predict
## S4 method for signature 'SaemixObject'
predict(
object,
newdata = NULL,
type = c("ipred", "ypred", "ppred", "icpred"),
se.fit = FALSE,
...
)
object |
an SaemixObject |
newdata |
an optional dataframe for which predictions are desired. If newdata is given, it must contain the predictors needed for the model in object |
type |
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. |
se.fit |
whether the SE are to be taken into account in the model predictions |
... |
additional arguments passed on to fitted() |
a vector or a dataframe (if more than one type) with the corresponding predictions for each observation in the dataframe
Default predict functions
Computes predictions using the results of an SAEM fit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.