Extract the fitted values from the model
# S3 method for focei.fit
fitted(object, ..., population = FALSE,
type = c("fitted", "posthoc"))
Fit object
other parameters
when true (default false), calculate/extract the population predictions; When false, calculate/extract the individual predictions.
If this is a matrix with the number columns equal to the number of ETAs in model, and the number of rows equals to the number of subjects in the dataset, then these etas will be used to fit the data.
The type of fitted object to be extracted. When the value is "fitted", this gives the individual or population fitted values. When "posthoc", this extracts the posthoc deviations from the typical values or ETAs.
Individual/population predictions