powered by
This function builds a kernel regression model.
KERREG(x, y, bandwidth = 1, tune = FALSE, ...)
Predictor matrix.
matrix
Response vector.
vector
The bandwidth parameter.
If true, the function returns paramters instead of a classification model.
Other parameters.
The classification model, as an object of class model-class.
model-class
npregress
# NOT RUN { require (datasets) data (trees) KERREG (trees [, -3], trees [, 3]) # }
Run the code above in your browser using DataLab