loess.as2 | R Documentation |
loess.as2
fits a local polynomial gregression with automatic smoothing paramater selection, but has been modified to facilitate user-specified dynamic span bounds based on the number of observations using the min.bins
argument. The function description and code have been modified from fANCOVA::loess.as
v0.5-1 (Wang 2010).
loess.as2( x, y, degree = 1, criterion = c("aicc", "gcv"), family = c("gaussian", "symmetric"), min.bins = 3, user.span = NULL, plot = FALSE, ... )
x |
as described for |
y |
as described for |
degree |
as described for |
criterion |
as described for |
family |
as described for |
min.bins |
Minimum number of depth bins over which a span can smooth. Default = 3 |
user.span |
as described for |
plot |
as described for |
... |
as described for |
Sean Rohan sean.rohan@noaa.gov
Cleveland, W. S. (1979) Robust locally weighted regression and smoothing scatterplots. Journal of the American Statistical Association. 74, 829–836.
Golub, G., Heath, M. and Wahba, G. (1979). Generalized cross validation as a method for choosing a good ridge parameter. Technometrics. 21, 215–224.
Hurvich, C.M., Simonoff, J.S., and Tsai, C.L. (1998), Smoothing Parameter Selection in Nonparametric Regression Using an Improved Akaike Information Criterion. Journal of the Royal Statistical Society B. 60, 271–293.
Xiao-Feng Wang (2010). fANCOVA: Nonparametric Analysis of Covariance. R package version 0.5-1. https://CRAN.R-project.org/package=fANCOVA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.