idVariable | R Documentation |
Extracts the trajectory identifier variable (i.e., column name) from the given object
.
idVariable(object, ...)
## S4 method for signature 'lcMethod'
idVariable(object, ...)
## S4 method for signature 'lcModel'
idVariable(object)
## S4 method for signature 'ANY'
idVariable(object)
object |
The object. |
... |
Not used. |
A nonempty string, as character
.
Other variables:
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"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.