powered by
Extracts the trajectory identifier variable (i.e., column name) from the given object.
object
# S4 method for lcMethod idVariable(object, ...)# S4 method for lcModel idVariable(object)
# S4 method for lcModel idVariable(object)
The trajectory identifier name, as character.
character
The object to extract the variable from.
Not used.
Other lcModel variables: responseVariable(), timeVariable()
responseVariable()
timeVariable()
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