density.lf | Density estimation using Locfit | density.lf |
density.lf(x, n=50, window="gaussian", width, from, to, cut, ev="grid", deg=0, family="density", link="ident", ...)
This function provides an interface to Locfit, in the syntax of the standard S-Plus density function. This can reproduce density results, but allows additional locfit.raw arguments, such as the degree of fit, to be given.It also works in double precision, whereas density only works in single precision.
A list with components x (evaluation points) and y (estimated density).
density, locfit, locfit.raw
data(geyser) density.lf(geyser, window="tria") # the same result with density, except less precision. density(geyser, window="tria")
locfit
Locfit Home | Help Index |