This layer adds a polygon representing the confidence band of a smooth, random or parametric effect plots.
l_ciPoly(level = 0.95, mul = NULL, ...)
An object of class gamLayer
coverage level (e.g. 0.9 means 90% intervals). Should be in (0, 1).
number multiplied by the standard errors when calculating
standard error curves. By default NULL
, if
set to a positive number it will over-ride level
.
graphical arguments to be passed to ggplot2::geom_polygon
.
See plot.mgcv.smooth.1D, plot.ptermNumeric or plot.random.effect for examples.