Learn R Programming

skewlmm (version 1.1.3)

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

Description

Plot method for objects of class "acfresid".

Usage

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

Value

A ggplot object.

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.

Author

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

See Also

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

Examples

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

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

Run the code above in your browser using DataLab