Skip to contents

Visualizes confidence bands constructed from confidence_band.

Usage

# S3 method for confidence_band
plot(x, center = TRUE, legendx = "topleft", legendy = NULL, ...)

Arguments

x

A 'confidence_band' object, the output from confidence_band funciton.

center

Whether to include the functional estimate or not.

legendx

position `x' of the legend. If NULL is passed, the legend will not be drawn (However, it may be added manually)

legendy

position `y' of the legend.

...

Graphical parameters to be passed/overrided. If 'center' is TRUE, the first elements of 'col', 'lwd', 'lty' will be used for the estimate and the next ones will be used for the bands, but using the same values for one pair, i.e., lower and upper bounds.