lmfmResQQPlot {robust} | R Documentation |
Produces side-by-side residual qq-plots from an lmfm object. A simulated confidence envelope is provided for each plot.
lmfmResQQPlot(x, type = "response", envelope = TRUE, half.normal = FALSE, n.samples = 100, level = 0.95, id.n = 3, robustQQline = TRUE, main, xlab, ylab, ...)
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. |
main |
a character string specifying the plot title. |
xlab |
a character string specifying the x-axis label. |
ylab |
a character string specifying the y-axis label. |
... |
additional arguments are passed to the low-level plotting functions. |
x
is invisibly returned.