hatmatrix(formula, ...)
formula
| model formula. |
...
|
Other arguments to locfit and
locfit.raw.
|
hatmatrix() computes the weight diagrams (also known as
equivalent or effective kernels) for a local regression smooth.
Essentially, hatmatrix() is a front-end to locfit(),
setting a flag to compute and return weight diagrams, rather than the
fit.locfit fit point.
If ev="data", this is the transpose of the hat matrix.locfit, plot.locfit.1d, plot.locfit.2d,
plot.locfit.3d, lines.locfit, predict.locfit