Learn R Programming

aplpack (version 1.3.3)

slider.lowess.plot: interactive lowess smoothing

Description

slider.lowess.plot computes an xy-plot of the data and adds LOWESS lines. The smoother span and the number of iterations are selected by sliders.

Usage

slider.lowess.plot(x, y, ...)

Arguments

x

data set to be used for plotting or vector of x values

y

vector of y values in case x is not a matrix

additional (graphics) parameter settings

Value

a message about the usage

Details

slider.lowess.plot computes a scatterplot of the data. Then a LOWESS smoother line is added to the plot. For more details about the lowess parameters f and iter take a look at the help page of lowess. The parameters are set by moving sliders of the control widget. The first slider defines the smoother span f and the second one the number of iterations.

References

for references see help file of lowess

See Also

lowess, slider

Examples

Run this code
# NOT RUN {
## This example cannot be run by examples() but should be work in an interactive R session
  slider.lowess.plot(cars)
# }

Run the code above in your browser using DataLab