getCall.lcModel: Get the model call

View source: R/model.R

getCall.lcModelR Documentation

Get the model call

Description

Extract the call that was used to fit the given lcModel object.

Usage

## S3 method for class 'lcModel'
getCall(x, ...)

Arguments

x

The lcModel object.

...

Not used.

Value

A call to latrend() with the necessary arguments and data.

See Also

stats::getCall getLcMethod

Other lcModel functions: clusterNames(), clusterProportions(), clusterSizes(), clusterTrajectories(), coef.lcModel(), converged(), deviance.lcModel(), df.residual.lcModel(), estimationTime(), externalMetric,lcModel,lcModel-method, fitted.lcModel(), fittedTrajectories(), getLcMethod(), ids(), lcModel-class, metric(), model.frame.lcModel(), nClusters(), nIds(), nobs.lcModel(), plot-lcModel-method, plotClusterTrajectories(), plotFittedTrajectories(), postprob(), predict.lcModel(), predictAssignments(), predictForCluster(), predictPostprob(), qqPlot(), residuals.lcModel(), sigma.lcModel(), strip(), time.lcModel(), trajectoryAssignments()

Examples

data(latrendData)
method <- lcMethodRandom("Y", id = "Id", time = "Time")
model <- latrend(method, latrendData)
getCall(model)

latrend documentation built on March 31, 2023, 5:45 p.m.