# NOT RUN {
method <- lcMethodLMKM(Y ~ Time, id = "Traj")
idVariable(method) # "Traj"
method <- lcMethodRandom("Y", id = "Id", time = "Time")
model <- latrend(method, latrendData)
idVariable(model) # "Id"
# }
Run the code above in your browser using DataLab