Learn R Programming

skewlmm (version 1.1.3)

plot.SMNclmm: Plot a smn.clmm object

Description

Fitted values versus residuals plot. Censored values are imputed using their conditional expectation from the fitting algorithm.

Usage

# S3 method for SMNclmm
plot(x, level = "conditional", useweight = TRUE,
                         alpha = 0.3, ...)

Value

A ggplot object.

Arguments

x

An object inheriting from class SMNclmm, representing a fitted scale mixture of normal censored linear mixed model.

level

Level of residual that should be used. For details see residuals.SMNclmm. Default is "conditional".

useweight

A logical value indicating if the estimated weights should be used as color in the plot.

alpha

Transparency parameter to be used (0<alpha<1). Meaningless if useweight = TRUE.

...

Additional arguments.

Author

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

See Also

ggplot, smn.clmm, fitted.SMNclmm, residuals.SMNclmm