Learn R Programming

robust (version 0.3-19)

lmfmResQQPlot: Residual QQ Plot

Description

Produces a side-by-side QQ plot os the residuals against standard normal quantiles. A simulated confidence envelope is provided for each plot.

Usage

lmfmResQQPlot(x, type = "response", envelope = TRUE, half.normal = FALSE, n.samples = 250, level = 0.95, id.n = 3, robustQQline = TRUE, ...)

Arguments

x
an lmfm object.
type
a character string specifying the type of residuals used in the plot. This argument is passed to the generic residuals function when extracting the residuals from x.
envelope
a logical value. If TRUE a level confidence envelope is simulated for each qq-plot.
half.normal
a logical value. If TRUE the plot is drawn using the absolute values of the residuals.
n.samples
a positive integer value giving the number of samples to compute in the simulation of the confidence envelope.
level
a numeric value between 0 and 1 specifying the confidence level for the envelope.
id.n
a non-negative integer value specifying the number of extreme points to identify.
robustQQline
a logical value. If TRUE then a qq-line computed using lmRob is included in the plot.
...
any additional arguments are passed to xyplot.

Value

  • the trellis object is invisibly returned.