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

View source: R/simpleboot.R

plot.loess.simplebootR Documentation

Plot method for loess bootstraps.

Description

Plot loess lines with bootstrap standard errors.

Usage

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

Value

Nothing is returned.

Author(s)

Roger D. Peng

Examples

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

simpleboot documentation built on Sept. 11, 2024, 6:21 p.m.