slider.lowess.plot {aplpack} | R Documentation |
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.
slider.lowess.plot(x, y, ...)
x |
data set to be used for plotting or vector of x values |
y |
vector of y values in case |
... |
additional (graphics) parameter settings |
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.
a message about the usage
Hans Peter Wolf
for references see help file of lowess
lowess
, slider
## Not run: ## This example cannot be run by examples() but should be work in an interactive R session slider.lowess.plot(cars) ## End(Not run)