Learn R Programming

latrend (version 1.3.0)

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, ...)

Arguments

x

The lcModel object.

...

Not used.

Value

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

See Also

stats::getCall getLcMethod

Examples

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

Run the code above in your browser using DataLab