Learn R Programming

robust (version 0.3-0)

lmfmResVsFittedPlot: Residuals versus Fitted Values Plot

Description

Produces side-by-side residuals versus fitted values plots from an lmfm object.

Usage

lmfmResVsFittedPlot(x, type = "response", smooths = FALSE, rugplot = FALSE, id.n = 3, main, xlab, ylab, ...)

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.
smooths
a logical value. If TRUE then a smooth curve computed using loess is included in each panel of the plot.
rugplot
a logical value. If TRUE then a rugplot is included in each panel of the plot.
id.n
a non-negative integer value giving the number of extreme points to identify.
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.

Value

  • x is invisibly returned.