Description Usage Arguments Details Value Author(s) See Also Examples
Numerical tolerance problems in non-parametric regression makes it necessary for pre-binning of data points. This procedure is implicitly performed by most of the regression function in R. This function implements this procedure with a given tolerance level.
1 |
DataMat |
a numeric matrix/vector with rows as data points. |
w |
an optional numeric vector of the same length as x; Defaults to all elements 1. |
tol |
a numeric value providing the tolerance for identifying duplicates with respect to the first column. |
If two values in the first column of DataMat are separated by a value less than tol then the corresponding rows are merged.
A list including the elements
DataMat |
a numeric matrix/vector with rows sorted with respect to the first column. |
w |
obtained weights corresponding to the merged points. |
Arun Kumar Kuchibhotla, arunku@wharton.upenn.edu.
See also the function smooth.spline
.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.