rbox | R Documentation |
rbox()
is used to specify a rectangular box evaluation
structure for locfit.raw()
. The structure begins
by generating a bounding box for the data, then recursively divides
the box to a desired precision.
rbox(cut=0.8, type="tree", ll, ur)
type |
If |
cut |
Precision of the tree; a smaller value of |
ll |
Lower left corner of the initial cell. Length should be the number
of dimensions of the data provided to |
ur |
Upper right corner of the initial cell. By default, |
Loader, C. (1999). Local Regression and Likelihood. Springer, New York.
Cleveland, W. and Grosse, E. (1991). Computational Methods for Local Regression. Statistics and Computing 1.
data(ethanol, package="locfit")
plot.eval(locfit(NOx~E+C,data=ethanol,scale=0,ev=rbox(cut=0.8)))
plot.eval(locfit(NOx~E+C,data=ethanol,scale=0,ev=rbox(cut=0.3)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.