Learn R Programming

latrend (version 1.6.1)

getArgumentDefaults,lcMethodLcmmGMM-method: lcmm interface

Description

lcmm interface

Usage

# S4 method for lcMethodLcmmGMM
getArgumentDefaults(object)

# S4 method for lcMethodLcmmGMM getArgumentExclusions(object)

# S4 method for lcMethodLcmmGMM getCitation(object, ...)

# S4 method for lcMethodLcmmGMM getName(object)

# S4 method for lcMethodLcmmGMM getShortName(object)

# S4 method for lcMethodLcmmGMM validate(method, data, envir = NULL, ...)

# S4 method for lcMethodLcmmGMM preFit(method, data, envir, verbose, ...)

# S4 method for lcMethodLcmmGMM fit(method, data, envir, verbose, ...)

# S4 method for lcMethodLcmmGMM responseVariable(object, ...)

# S4 method for lcMethodLcmmGBTM getArgumentDefaults(object)

# S4 method for lcMethodLcmmGBTM getArgumentExclusions(object)

# S4 method for lcMethodLcmmGBTM getCitation(object, ...)

# S4 method for lcMethodLcmmGBTM getName(object)

# S4 method for lcMethodLcmmGBTM getShortName(object)

# S4 method for lcMethodLcmmGBTM preFit(method, data, envir, verbose, ...)

# S4 method for lcMethodLcmmGBTM fit(method, data, envir, verbose, ...)

# S4 method for lcMethodLcmmGBTM responseVariable(object, ...)

# S3 method for lcModelLcmmGMM fitted(object, ..., clusters = trajectoryAssignments(object))

# S4 method for lcModelLcmmGMM predictForCluster(object, newdata, cluster, what = "mu", ...)

# S3 method for lcModelLcmmGMM model.matrix(object, ..., what = "mu")

# S3 method for lcModelLcmmGMM logLik(object, ...)

# S3 method for lcModelLcmmGMM sigma(object, ...)

# S3 method for lcModelLcmmGMM nobs(object, ...)

# S4 method for lcModelLcmmGMM postprob(object, ...)

# S4 method for lcModelLcmmGMM converged(object, ...)

Arguments

object

The object.

...

Not used.

method

An object inheriting from lcMethod with all its arguments having been evaluated and finalized.

data

A data.frame representing the transformed training data.

envir

The environment containing variables generated by prepareData() and preFit().

verbose

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

clusters

Optional cluster assignments per id. If unspecified, a matrix is returned containing the cluster-specific predictions per column.

newdata

A data.frame of trajectory data for which to compute trajectory assignments.

cluster

The cluster name (as character) to predict for.

what

The distributional parameter to predict. By default, the mean response 'mu' is predicted. The cluster membership predictions can be obtained by specifying what = 'mb'.

See Also

lcMethodLcmmGBTM lcMethodLcmmGMM lcmm-package