timeVariable | R Documentation |
Extracts the time variable (i.e., column name) from the given object
.
timeVariable(object, ...)
## S4 method for signature 'lcMethod'
timeVariable(object, ...)
## S4 method for signature 'lcModel'
timeVariable(object)
## S4 method for signature 'ANY'
timeVariable(object)
object |
The object. |
... |
Not used. |
The time variable name, as character
.
Other 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.