Learn R Programming

locfit (version 1.5-8)

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

## S3 method for class 'locfit.2d':
plot(x, type="contour", main, xlab, ylab, zlab=x$yname, ...)

Arguments

x
Two dimensional preplot.locfit object.
type
one of "contour", "persp", or "image".
main
title for the plot.
xlab, ylab
text labels for the x- and y-axes.
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