Learn R Programming

latrend (version 1.6.1)

model.data.lcModel: Extract the model data that was used for fitting

Description

Evaluates the data call in the environment that the model was trained in.

Usage

# S3 method for lcModel
model.data(object, ...)

Value

The full data.frame that was used for fitting the lcModel.

Arguments

object

The lcModel object.

...

Additional arguments.

See Also

model.frame.lcModel time.lcModel

Examples

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

Run the code above in your browser using DataLab