update: Update for SMSN/SMN/SMNclmm objects

updateR Documentation

Update for SMSN/SMN/SMNclmm objects

Description

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

Usage

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

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

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

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.

Value

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

Author(s)

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

See Also

smsn.lmm, smn.lmm, smn.clmm

Examples

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

skewlmm documentation built on July 9, 2023, 7:29 p.m.