KERREG: Kernel Regression

Description Usage Arguments Value See Also Examples

Description

This function builds a kernel regression model.

Usage

1
KERREG(x, y, bandwidth = 1, tune = FALSE, ...)

Arguments

x

Predictor matrix.

y

Response vector.

bandwidth

The bandwidth parameter.

tune

If true, the function returns paramters instead of a classification model.

...

Other parameters.

Value

The classification model, as an object of class model-class.

See Also

npregress

Examples

1
2
3
require (datasets)
data (trees)
KERREG (trees [, -3], trees [, 3])

fdm2id documentation built on Oct. 29, 2021, 5:07 p.m.

Related to KERREG in fdm2id...