This function plots cross-sections of a Locfit model (usually in three
or more dimensions) using trellis displays. It is not usually called
directly, but is invoked by plot.locfit
.
The R libraries lattice
and grid
provide a partial
(at time of writing) implementation of trellis. Currently, this works
with one panel variable.
# S3 method for locfit.3d
plot(x, main="", pv, tv, type = "level", pred.lab = x$vnames,
resp.lab=x$yname, crit = 1.96, ...)
"preplot.locfit"
object.
title for the plot.
Panel variables. These are the variables (either one or two) that are varied within each panel of the display.
Trellis variables. These are varied from panel to panel of the display.
Type of display. When there are two panel variables,
the choices are "contour"
, "level"
and
"persp"
.
label for the predictor variable.
label for the response variable.
critical value for the confidence level.
graphical parameters passed to xyplot
or
contourplot
.
plot.locfit
,
preplot.locfit