formula | R Documentation |
It returns the formula used for both fixed and random terms of the linear mixed model represented by object.
## S3 method for class 'SMN'
formula(x, ...)
## S3 method for class 'SMSN'
formula(x, ...)
x |
An object inheriting from class |
... |
Additional arguments |
formFixed |
Fixed effects formula |
formRandom |
Random effects formula |
groupVar |
Variable identified subjects or clusters |
smn.lmm
,
smsn.lmm
,
criteria
fm1 = smn.lmm(distance ~ age+Sex, data=nlme::Orthodont, groupVar="Subject")
formula(fm1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.