mclust interface
# S4 method for lcMethodMclustLLPA
getName(object)# S4 method for lcMethodMclustLLPA
getShortName(object)
# S4 method for lcMethodMclustLLPA
prepareData(method, data, verbose, ...)
# S4 method for lcMethodMclustLLPA
compose(method, envir = NULL)
# S4 method for lcMethodMclustLLPA
fit(method, data, envir, verbose, ...)
# S4 method for lcModelMclustLLPA
clusterTrajectories(object, at = time(object), ...)
# S4 method for lcModelMclustLLPA
postprob(object, ...)
# S4 method for lcModelMclustLLPA
predictPostprob(object, newdata = NULL, ...)
# S4 method for lcModelMclustLLPA
converged(object, ...)
The object to extract the label from.
The lcMethod
object.
The data, as a data.frame
, on which the model will be trained.
A R.utils::Verbose object indicating the level of verbosity.
Additional arguments.
The environment
in which the lcMethod
should be evaluated
An optional vector, list or data frame of covariates at which to compute the cluster trajectory predictions. If a vector is specified, this is assumed to be the time covariate. Otherwise, a named list or data frame must be provided.
Optional data.frame
for which to compute the model predictions. If omitted, the model training data is used.
Cluster trajectory predictions are made when ids are not specified.