This layer adds a polygon representing the confidence band of a smooth, random or parametric effect plots.

l_ciPoly(level = 0.95, mul = NULL, ...)

Arguments

level

coverage level (e.g. 0.9 means 90% intervals). Should be in (0, 1).

mul

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.

Value

An object of class gamLayer

See also