Learn R Programming

locfit (version 1.1-11)

plot.locfit.2d: Plot a two-dimensional "preplot.locfit" object.

Description

This function is not usually called directly. It will be called automatically when plotting one-dimensional "locfit" or "preplot.locfit" objects.

Usage

plot.locfit.2d(x, pv, tv, main, type = "contour", xlab, ylab,
               zlab = x$yname, ...)

Arguments

x
Two dimensional "preplot.locfit" object.
pv
Panel variables, to be varied within each panel of a plot. May be specified as a character vector, or variable numbers. There must be one or two panel variables; default is all variables in one or two dimensions; Variable 1 i
tv
Trellis variables, to be varied from panel to panel of the plot.
main
main title for the plot.
type
Type of plot. Can be "contour" (the default); "persp" or "image".
xlab
Labels for the predictor variable axis; should be a character vector of length 2.
ylab
Label for the y-axis.
zlab
If type="persp", the label for the z-axis.
...
Additional arguments to the contour, persp or image functions.

See Also

locfit, plot.locfit, preplot.locfit