getLabel | R Documentation |
Get the object label, if any.
Extracts the assigned label from the given lcMethod
or lcModel
object.
By default, the label is determined from the "label"
argument of the lcMethod
object.
The label of an lcModel
object is set upon estimation by latrend()
to the label of its associated lcMethod
object.
getLabel(object, ...)
## S4 method for signature 'lcMethod'
getLabel(object, ...)
## S4 method for signature 'lcModel'
getLabel(object, ...)
object |
The object. |
... |
Not used. |
A scalar character
. The empty string is returned if there is no label.
getName
getName getShortName
method <- lcMethodLMKM(Y ~ Time, time = "Time")
getLabel(method) # ""
getLabel(update(method, label = "v2")) # "v2"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.