l_simLine: Add simulated smooth effect curves

View source: R/L_simLine.R

l_simLineR Documentation

Add simulated smooth effect curves

Description

This layer adds curves representing smooth effects simulated from the posterior distribution.

Usage

l_simLine(...)

Arguments

...

graphical arguments to be passed to ggplot2::geom_line.

Details

This function uses transparency to avoid over-plotting. This can be avoided by setting alpha = 1 in the call to l_simLine.

Value

An object of class gamLayer.

See Also

See plot.mgcv.smooth.1D for examples.


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

Related to l_simLine in mgcViz...