timeVariable | R Documentation |
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 <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time")
timeVariable(method) # "Time"
data(latrendData)
method <- lcMethodRandom("Y", id = "Id", time = "Time")
model <- latrend(method, latrendData)
timeVariable(model) # "Time"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.