l_ciLine: Adding confidence intervals to effect plot

View source: R/L_ciLine.R

l_ciLineR Documentation

Adding confidence intervals to effect plot

Description

This layer adds confidence interval lines to smooth, random or parametric effect plots.

Usage

l_ciLine(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_line.

Value

An object of class gamLayer.

See Also

See plot.mgcv.smooth.1D, plot.ptermNumeric or plot.random.effect for examples.


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

Related to l_ciLine in mgcViz...