Learn R Programming

latrend (version 1.6.1)

clusterTrajectories,lcModelPartition-method: function interface

Description

function interface

Usage

# S4 method for lcModelPartition
clusterTrajectories(
  object,
  at = time(object),
  center = object@center,
  approxFun = approx,
  ...
)

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

# S4 method for lcModelPartition getName(object, ...)

# S4 method for lcModelPartition getShortName(object, ...)

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

# S4 method for lcMethodFunction getArgumentDefaults(object)

# S4 method for lcMethodFunction getName(object)

# S4 method for lcMethodFunction getShortName(object)

# S4 method for lcMethodFunction prepareData(method, data, verbose)

# S4 method for lcMethodFunction fit(method, data, envir, verbose)

# S4 method for lcMethodRandom getArgumentDefaults(object)

# S4 method for lcMethodRandom getName(object)

# S4 method for lcMethodRandom getShortName(object)

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

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

# S4 method for lcModelStratify predictPostprob(object, newdata = NULL, ...)

# S4 method for lcModelWeightedPartition clusterTrajectories( object, at = time(object), center = weighted.meanNA, approxFun = approx, ... )

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

# S4 method for lcModelWeightedPartition getName(object, ...)

# S4 method for lcModelWeightedPartition getShortName(object, ...)

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

Arguments

object

The object.

center

The function to use to compute the cluster trajectory center at the respective moment in time.

...

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.

verbose

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

envir

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

newdata

Optional data.frame for which to compute the posterior probability. If omitted, the model training data is used.

See Also

lcMethodRandom lcMethodStratify lcModelPartition lcModelWeightedPartition