formula.lcModel | R Documentation |
Get the formula associated with the fitted lcModel
object.
This is determined by the formula
argument of the lcMethod
specification that was used to fit the model.
## S3 method for class 'lcModel'
formula(x, what = "mu", ...)
x |
The |
what |
The distributional parameter. |
... |
Additional arguments. |
Returns the associated formula
, or response ~ 0
if not specified.
stats::formula
data(latrendData)
method <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time")
model <- latrend(method, data = latrendData)
formula(model) # Y ~ Time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.