coef: Extract coefficients from smsn.lmm and smn.lmm objects

View source: R/mainfunctions.R

coefR Documentation

Extract coefficients from smsn.lmm and smn.lmm objects

Description

It extracts estimated coefficients from smsn.lmm and smn.lmm objects. The estimated coefficients are obtained by adding together the fixed and random effects estimates.

Usage

## S3 method for class 'SMN'
coef(object, ...)
## S3 method for class 'SMSN'
coef(object, ...)

Arguments

object

An object inheriting from class SMN or SMSN, representing a fitted scale mixture skew-normal linear mixed model.

...

Additional arguments

Value

Matrix of coefficients.

Author(s)

Fernanda L. Schumacher, Larissa A. Matos and Victor H. Lachos

References

Schumacher, F. L., Matos, L. A., and Lachos, V. H. (2025). "skewlmm: An R Package for Fitting Skewed and Heavy-Tailed Linear Mixed Models." Journal of Statistical Software, 115(7), 1–32.

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.

See Also

smsn.lmm, smn.lmm, fitted.SMSN, fitted.SMN

Examples

fm1 = smn.lmm(distance ~ age+Sex, data=nlme::Orthodont, groupVar="Subject")
coef(fm1)

skewlmm documentation built on Oct. 16, 2026, 5:08 p.m.