Learn R Programming

latrend (version 1.1.0)

latrend-generics: Method- and model-specific generics defined by the latrend package

Description

List of S4 generic methods which have no general use other than supporting functions with signatures of lcMethod or lcModel.

Reduce the (serialized) memory footprint of an object.

Usage

trajectoryAssignments(object, ...)

clusterProportions(object, ...)

clusterTrajectories(object, ...)

compose(method, envir, ...)

converged(object, ...)

externalMetric(object, object2, name, ...)

fit(method, data, envir, verbose, ...)

getLabel(object, ...)

getName(object, ...)

getShortName(object, ...)

idVariable(object, ...)

metric(object, name, ...)

plotClusterTrajectories(object, ...)

qqPlot(object, ...)

plotTrajectories(object, ...)

postprob(object, ...)

predictAssignments(object, newdata = NULL, ...)

predictForCluster(object, newdata = NULL, cluster, ...)

predictPostprob(object, newdata = NULL, ...)

postFit(method, data, model, envir, verbose, ...)

preFit(method, data, envir, verbose, ...)

prepareData(method, data, verbose, ...)

responseVariable(object, ...)

strip(object, ...)

timeVariable(object, ...)

validate(method, data, envir, ...)

Arguments

object

The object.

...

Arguments.

method

The method.

envir

environment.

object2

The model to compare with.

name

Metric name.

data

data.frame.

newdata

data.frame of newdata.

cluster

Cluster name.

what

Parameter.

Value

The stripped (i.e., updated) object.

Details

Serializing references to environments results in the serialization of the object together with any associated environments and references. This method removes those environments and references, greatly reducing the serialized object size.