View source: R/test-script-2025-01-20.r
smoother_fitter | R Documentation |
Nadaraya-Watson kernel smoother
smoother_fitter(X, Y, kernel = gaussian_kernel, h)
X |
Vector of X values |
Y |
Vector of Y values |
kernel |
Kernel to use in the kernel smoother; defaults to Gaussian kernel |
h |
Bandwidth |
Returns a function which is the smoothed function; input takes in an x value.
Emily Hsiao
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.