plot.acfresid: Plot ACF for smn.lmm or smsn.lmm residuals

View source: R/residuals.R

plot.acfresidR Documentation

Plot ACF for smn.lmm or smsn.lmm residuals

Description

Plot method for objects of class "acfresid".

Usage

## S3 method for class 'acfresid'
plot(x,...)

Arguments

x

An object inheriting from class acfresid, representing the empirical autocorrelation function from the residuals of a scale mixture of (skew) normal linear mixed model.

...

Additional arguments.

Value

A ggplot object.

Author(s)

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

See Also

ggplot, acfresid, smn.lmm, smsn.lmm, residuals.SMN, residuals.SMSN

Examples

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

acfCI = acfresid(fm1, calcCI=TRUE)
plot(acfCI)
  

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