[ top | up ]

Arguments

x a vector containing the independent variable.
y a vector containing the response variable.
rw an optional vector of weights.
f a smoothing parameter specifying the fraction of the data to be used.

Value

structure with the following components:
x the input x vector.
ys the smoothed y vector.

References

Cleveland, W. S. (1979). Robust locally weighted regression and smoothing scatterplots. J. Amer. Statist. Assoc. 74, 829-836.