Extract random effects from smsn.lmm, smn.lmm and smn.clmm objects
Extract random effects from smsn.lmm, smn.lmm and smn.clmm objects
It extracts random effects from smsn.lmm, smn.lmm and smn.clmm objects.
## S3 method for class 'SMN'ranef(object,...)## S3 method for class 'SMSN'ranef(object,...)## S3 method for class 'SMNclmm'ranef(object,...)
Arguments
object: An object inheriting from class SMN, SMSN, or SMNclmm, representing a fitted scale mixture skew-normal linear mixed model.
...: Additional arguments
Returns
Matrix of estimated random effects.
References
Schumacher, F. L., Lachos, V. H., and Matos, L. A. (2021). Scale mixture of skew-normal linear mixed models with within-subject serial dependence. Statistics in Medicine 40(7), 1790-1810.
Author(s)
Fernanda L. Schumacher, Larissa A. Matos and Victor H. Lachos