formula {skewlmm} | R Documentation |
Formula from an smn.lmm and smsn.lmm models
Description
It returns the formula used for both fixed and random terms of the linear mixed model represented by object.
Usage
## S3 method for class 'SMN'
formula(x, ...)
## S3 method for class 'SMSN'
formula(x, ...)
Arguments
x |
An object inheriting from class |
... |
Additional arguments |
Value
formFixed |
Fixed effects formula |
formRandom |
Random effects formula |
groupVar |
Variable identified subjects or clusters |
See Also
Examples
fm1 = smn.lmm(distance ~ age+Sex, data=nlme::Orthodont, groupVar="Subject")
formula(fm1)
[Package skewlmm version 1.1.2 Index]