Description Usage Arguments Value Author(s) Examples
Fit a local polynomial regression with automatic smoothing parameter selection. Two methods are available for the selection of the smoothing parameter: bias-corrected Akaike information criterion (aicc); and generalized cross-validation (gcv).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
x |
An object of class |
y |
a vector of response values |
degree |
the degree of the local polynomials to be used. It can ben 0, 1 or 2. |
criterion |
The criterion used to find the optimal span |
family |
if "gaussian" fitting is by least-squares, and if "symmetric" a re-descending M estimator is used with Tukey's biweight function. |
user.span |
the user-defined parameter which controls the degree of smoothing. |
plot |
if |
... |
control parameters. Fit a local polynomial regression with automatic smoothing parameter selection. The predictor x can either one-dimensional or two-dimensional. This function was taken directly from 'fANCOVA' version 0.5-1 and is wholly attributed to its author Xiao-Feng Wang. |
model |
An object of class |
span.range |
The range in which to look for the optimal span |
An object of class loess
.
X.F. Wang
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.