Learn R Programming

locfit (version 1.1-11)

plot.eval: Plot evaluation points from a 2-d locfit object.

Description

This function is used to plot the evaluation structure generated by Locfit for a two dimensional fit. Vertices of the tree structure are displayed as O; pseudo-vertices as *.

Usage

plot.eval(x, add=FALSE, text=FALSE, ...)

Arguments

x
"locfit" object.
add
If TRUE, add to existing plot.
text
If T, numbers will be added indicating the order points were added.
...
other graphics parameters.

See Also

locfit.

Examples

Run this code
data(ethanol)
fit <- locfit(NOx~E+C,data=ethanol,scale=0)
plot.eval(fit)

Run the code above in your browser using DataLab