Learn R Programming

skewlmm (version 1.1.3)

update: Update for SMSN/SMN/SMNclmm objects

Description

It fits a SM(S)N-(C)LMM by updating a fitted object.

Usage

# S3 method for SMN
update(object, ..., evaluate = TRUE)

# S3 method for SMSN update(object, ..., evaluate = TRUE)

# S3 method for SMNclmm update(object, ..., evaluate = TRUE)

Value

An object resulting from the smsm.lmm(), smn.lmm() or smn.clmm() function.

Arguments

object

A smsn.lmm, smn.lmm or smn.clmm object containing the fitted model to be updated.

...

Arguments to be changed.

evaluate

A logical value indicating if the new class should be evaluated. If FALSE, the call is returned.

Author

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

See Also

smsn.lmm, smn.lmm, smn.clmm

Examples

Run this code
fm1 = smn.lmm(nlme::Orthodont, formFixed=distance ~ age+Sex, groupVar="Subject")
fm2 = update(fm1, distr="t")
fm2

Run the code above in your browser using DataLab