kml interface
# S4 method for lcMethodKML
getName(object)# S4 method for lcMethodKML
getShortName(object)
# S4 method for lcMethodKML
preFit(method, data, envir, verbose, ...)
# S4 method for lcMethodKML
fit(method, data, envir, verbose, ...)
# S4 method for lcModelKML
clusterTrajectories(object, at = time(object), ...)
# S4 method for lcModelKML
converged(object)
# S3 method for lcModelKML
logLik(object, ...)
# S4 method for lcModelKML
postprob(object)
# S4 method for lcModelKML
predictPostprob(object, newdata = NULL, ...)
The object to extract the label from.
The lcMethod
object.
The data, as a data.frame
, on which the model will be trained.
The environment
in which the lcMethod
should be evaluated
A R.utils::Verbose object indicating the level of verbosity.
Additional arguments.
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 posterior probability. If omitted, the model training data is used.