Learn R Programming

latrend (version 1.1.0)

interface-kml: kml interface

Description

kml interface

Usage

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

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.

envir

The environment in which the lcMethod should be evaluated

verbose

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

...

Additional arguments.

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 posterior probability. If omitted, the model training data is used.

See Also

lcMethodKML kml