KERREG {fdm2id} | R Documentation |
Kernel Regression
Description
This function builds a kernel regression model.
Usage
KERREG(x, y, bandwidth = 1, tune = FALSE, ...)
Arguments
x |
Predictor |
y |
Response |
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
Examples
require (datasets)
data (trees)
KERREG (trees [, -3], trees [, 3])
[Package fdm2id version 0.9.9 Index]