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

l_simLine(...)

Arguments

...

graphical arguments to be passed to ggplot2::geom_line.

Value

An object of class gamLayer.

Details

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

See also

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