Learn R Programming

latrend (version 1.6.1)

getCall.lcModel: Get the model call

Description

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

Usage

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

Value

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

Arguments

x

The lcModel object.

...

Not used.

See Also

stats::getCall getLcMethod

Other lcModel functions: clusterNames(), clusterProportions(), clusterSizes(), clusterTrajectories(), coef.lcModel(), converged(), deviance.lcModel(), df.residual.lcModel(), estimationTime(), externalMetric(), 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

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

Run the code above in your browser using DataLab