lcModel prediction for a specific cluster
Predicts the expected trajectory observations at the given time under the assumption that the trajectory belongs to the specified cluster.
## S4 method for signature 'lcModel' predictForCluster(object, newdata = NULL, cluster, ..., what = "mu")
object |
The |
newdata |
Optional |
cluster |
The cluster name (as |
... |
Additional arguments. |
what |
The distributional parameter to predict. By default, the mean response 'mu' is predicted. The cluster membership predictions can be obtained by specifying |
A vector with the predictions per newdata observation, or a data.frame with the predictions and newdata alongside.
Other model-specific methods:
clusterTrajectories(),
coef.lcModel(),
converged(),
deviance.lcModel(),
df.residual.lcModel(),
fitted.lcModel(),
lcModel-class,
logLik.lcModel(),
model.frame.lcModel(),
nobs.lcModel(),
postprob(),
predict.lcModel(),
predictAssignments(),
predictPostprob(),
residuals.lcModel(),
sigma.lcModel(),
time.lcModel(),
trajectories()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.