color.plot.loess | R Documentation |
The regression surface is evaluated at all points on a grid, clipped values
are set to NA
, and contour.plot
is used to plot the contours.
## S3 method for class 'loess' color.plot( object, x, res = 50, fill = F, add = fill, clip = T, xlab = NULL, ylab = NULL, zlab = NULL, ... )
object |
a |
res |
resolution of the sampling grid in each direction. |
fill |
passed to |
add |
If |
clip |
a polygon over which the surface is to be defined. Possible
values are |
... |
extra arguments to |
data |
data to use instead of |
If add=FALSE
, the data is plotted on top using
color.plot.data.frame
.
A plot is produced.
Tom Minka
contour.plot
data(Housing) fit = loess(Price ~ Rooms + Low.Status, Housing) color.plot(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.