Learn R Programming

locfit (version 1.1-3)

knots: Extraction of fit-point information from a Locfit object.

Description

Extracts information, such as fitted values, influence functions from a "locfit" object.

Usage

knots(x, tr, what, delete.pv, ...)

Arguments

x
Fitted object from locfit().
tr
Back transformation. Default is the invers link function from the Locfit object.
what
What to return; default is c("x","coef","h","nlx"). Allowed fields are x (fit points); coef (fitted values); f1 (local slope); nlx (length of the weight diagram); nlx1 (estimate
delete.pv
If T, pseudo-vertices are deleted.
...
not used.

Value

  • A matrix with one row for each fit point. Columns correspond to the specified what vector; some fields contribute multiple columns.