lmfmResVsFittedPlot {robust} | R Documentation |
Produces side-by-side residuals versus fitted values plots from an lmfm object.
lmfmResVsFittedPlot(x, type = "response", smooths = FALSE, rugplot = FALSE, id.n = 3, 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 . |
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. |
x
is invisibly returned.