mixtools interface
# S4 method for lcMethodMixtoolsGMM
getName(object)# S4 method for lcMethodMixtoolsGMM
getShortName(object)
# S4 method for lcMethodMixtoolsGMM
preFit(method, data, envir, verbose, ...)
# S4 method for lcMethodMixtoolsGMM
fit(method, data, envir, verbose, ...)
# S4 method for lcMethodMixtoolsNPRM
getName(object)
# S4 method for lcMethodMixtoolsNPRM
getShortName(object)
# S4 method for lcMethodMixtoolsNPRM
fit(method, data, envir, verbose, ...)
# S4 method for lcModelMixtoolsGMM
predictForCluster(object, newdata, cluster, what = "mu", ...)
# S4 method for lcModelMixtoolsGMM
postprob(object, ...)
# S3 method for lcModelMixtoolsGMM
logLik(object, ...)
# S3 method for lcModelMixtoolsGMM
coef(object, ...)
# S3 method for lcModelMixtoolsGMM
sigma(object, ...)
# S4 method for lcModelMixtoolsRM
clusterTrajectories(
object,
at = time(object),
what = "mu",
se = TRUE,
ci = c(0.025, 0.975),
...
)
# S4 method for lcModelMixtoolsRM
postprob(object, ...)
# S3 method for lcModelMixtoolsRM
logLik(object, ...)
# S4 method for lcModelMixtoolsRM
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.
The environment
in which the lcMethod
should be evaluated
A R.utils::Verbose object indicating the level of verbosity.
Additional arguments.
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.
The cluster name (as character
) to predict for.
The distributional parameter to predict. By default, the mean response 'mu' is predicted. The cluster membership predictions can be obtained by specifying what = 'mb'
.
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.
Whether to compute the standard error of the prediction.
The confidence interval to compute.
lcMethodMixtoolsGMM lcMethodMixtoolsNPRM regmixEM.mixed npEM