lfgrid | R Documentation |
lfgrid()
is used to specify evaluation on a grid of points
for locfit.raw()
. The structure computes
a bounding box for the data, and divides that into a grid with
specified margins.
lfgrid(mg=10, ll, ur)
mg |
Number of grid points along each margin. Can be a single number (which is applied in each dimension), or a vector specifying a value for each dimension. |
ll |
Lower left limits for the grid. Length should be the number
of dimensions of the data provided to |
ur |
Upper right limits for the grid. By default, |
data(ethanol, package="locfit")
plot.eval(locfit(NOx ~ lp(E, C, scale=TRUE), data=ethanol, ev=lfgrid()))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.