Description Usage Arguments Details See Also Examples
View source: R/loc_median_fit.R
This function fits y based on x through a (weighted) median using
the npoints/2
neighborhood.
1 2 3 4 5 6 7 8 |
x, y |
the x and y coordinates of the points. |
fraction, npoints |
the fraction / number of the points that are
considered for each fit. |
weighted |
a boolean that indicates if a weighted median is calculated. |
ignore_zeros |
should the zeros be excluded from the fit |
This function is low-level and should usually not be called by the user.
locfit
: a package dedicated to local regression.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.