Learn R Programming

simpleboot (version 0.1-4)

plot.loess.uclaboot: Plot method for loess bootstraps.

Description

Plot loess lines with bootstrap standard errors.

Usage

## S3 method for class 'loess.uclaboot':
plot(x, add = FALSE, all.lines = FALSE, ...)

Arguments

x
An object of class "loess.uclaboot" as returned by the function loess.boot.
add
Should the loess line be plotted over the current plot?
all.lines
Should we plot each of the individual loess lines from the bootstrap samples?
...
Other arguments passed to plot.

Value

  • Nothing is returned.

Details

plot constructs (and plots) the original loess fit and +/- 2 bootstrap standard errors at locations specified in the new.xpts in loess.boot (or on an evenly spaced grid).

Examples

Run this code
## See the help page for `loess.boot' for an example.

Run the code above in your browser using DataLab