Learn R Programming

latrend (version 1.3.0)

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

Arguments

object

The lcModel object.

...

Additional arguments.

Value

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

See Also

model.frame.lcModel time.lcModel

Examples

Run this code
# NOT RUN {
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