l_ciBar: Adding confidence intervals to barplots

View source: R/L_ciBar.R

l_ciBarR Documentation

Adding confidence intervals to barplots

Description

This layer adds confidence intervals to barplots, such as those produced by factor effects GAM.

Usage

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

Arguments

level

the level of the confidence intervals (e.g. 0.9 means 90% intervals).

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

Value

An object of class gamLayer.

See Also

See plot.ptermFactor for examples.


mgcViz documentation built on Oct. 6, 2023, 5:09 p.m.

Related to l_ciBar in mgcViz...