Learn R Programming

latrend (version 1.1.0)

interface-mclust: mclust interface

Description

mclust interface

Usage

# 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, ...)

Arguments

object

The object to extract the label from.

method

The lcMethod object.

data

The data, as a data.frame, on which the model will be trained.

verbose

A R.utils::Verbose object indicating the level of verbosity.

...

Additional arguments.

envir

The environment in which the lcMethod should be evaluated

at

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.

newdata

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.

See Also

lcMethodMclustLLPA mclust-package