Extract the time variable
Extracts the time variable (i.e., column name) from the given object.
## S4 method for signature 'lcMethod' timeVariable(object, ...) ## S4 method for signature 'lcModel' timeVariable(object)
object |
The object to extract the variable from. |
... |
Additional arguments. |
The time variable name, as character.
Other lcModel variables:
idVariable(),
responseVariable()
method <- lcMethodKML(time = "Assessment")
timeVariable(method) # "Assessment"
data(latrendData)
model <- latrend(lcMethodKML("Y", id = "Id", time = "Time"), latrendData)
idVariable(model) # "Id"Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.