powered by
Extracts the trajectory identifier variable (i.e., column name) from the given object.
object
idVariable(object, ...)# S4 method for lcMethod idVariable(object, ...)# S4 method for lcModel idVariable(object)# S4 method for ANY idVariable(object)
# S4 method for lcMethod idVariable(object, ...)
# S4 method for lcModel idVariable(object)
# S4 method for ANY idVariable(object)
A nonempty string, as character.
character
The object.
Not used.
Other 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