plot {skewlmm} | R Documentation |
Plot a smn.lmm or smsn.lmm object
Description
Fitted values versus residuals plot.
Usage
## S3 method for class 'SMN'
plot(x, type = "response", level = "conditional",
useweight = TRUE, alpha = 0.3, ...)
## S3 method for class 'SMSN'
plot(x, type = "response", level = "conditional",
useweight = TRUE, alpha = 0.3, ...)
Arguments
x |
An object inheriting from class |
type |
Type of residual that should be used. For details see |
level |
Level of residual that should be used. For details see |
useweight |
A logical value indicating if the estimated weights should be used as color in the plot. |
alpha |
Transparency parameter to be used ( |
... |
Additional arguments. |
Value
A ggplot object.
Author(s)
Fernanda L. Schumacher, Larissa A. Matos and Victor H. Lachos
See Also
ggplot
, smn.lmm
, smsn.lmm
, fitted.SMN
, fitted.SMSN
, residuals.SMN
, residuals.SMSN
Examples
fm1 = smn.lmm(distance ~ age+Sex, data=nlme::Orthodont,
groupVar="Subject", distr="t")
plot(fm1)
plot(fm1, useweight=FALSE)
library(ggplot2)
plot(fm1) + ggtitle("t-LMM for orthodont data")
[Package skewlmm version 1.1.0 Index]