model.data.lcModel {latrend}R Documentation

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 class '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

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

[Package latrend version 1.6.0 Index]