locfit.matrix: Reconstruct a Locfit model matrix.

locfit.matrixR Documentation

Reconstruct a Locfit model matrix.

Description

Reconstructs the model matrix, and associated variables such as the response, prior weights and censoring indicators, from a locfit object. This is used by functions such as fitted.locfit; it is not normally called directly. The function will only work properly if the data frame has not been changed since the fit was constructed.

Usage

locfit.matrix(fit, data)

Arguments

fit

Locfit object

data

Data Frame.

Value

A list with variables x (the model matrix); y (the response); w (prior weights); sc (scales); ce (censoring indicator) and base (baseline fit).

See Also

locfit, fitted.locfit, residuals.locfit


locfit documentation built on July 9, 2023, 5:58 p.m.

Related to locfit.matrix in locfit...