Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Local Regression, Likelihood and Density Estimation

v1.5-9.4
GPL (>= 2)
Authors
Catherine Loader [aut], Jiayang Sun [ctb], Lucent Technologies [cph], Andy Liaw [cre]
Initial release
2020-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.