| hatmatrix | R Documentation |
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.
hatmatrix(formula, dc=TRUE, ...)
formula |
model formula. |
dc |
derivative adjustment (see |
... |
Other arguments to |
A matrix with n rows and p columns; each column being the
weight diagram for the corresponding 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.