Learn R Programming

latrend (version 1.6.1)

interface-dtwclust: dtwclust interface

Description

dtwclust interface

Usage

# S4 method for lcMethodDtwclust
getArgumentDefaults(object)

# S4 method for lcMethodDtwclust getArgumentExclusions(object)

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

# S4 method for lcMethodDtwclust getName(object)

# S4 method for lcMethodDtwclust getShortName(object)

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

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

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

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

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

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.

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

lcMethodDtwclust dtwclust-package