plot.loess.simpleboot function

Plot method for loess bootstraps.

Plot method for loess bootstraps.

Plot loess lines with bootstrap standard errors.

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

Arguments

  • x: An object of class "loess.simpleboot" 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.

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).

Author(s)

Roger D. Peng

Returns

Nothing is returned.

Examples

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