Learn R Programming

robust (version 0.3-19)

lmfmResVsFittedPlot: Residuals versus Fitted Values Plot

Description

Produces a side-by-side plot of the residuals versus the fitted values.

Usage

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

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.
...
any additional arguments are passed to xyplot.

Value

  • the trellis object is invisibly returned.