l_poly: Add polygons to effect plots

View source: R/L_poly.R

l_polyR Documentation

Add polygons to effect plots

Description

This layers adds polygons to plots and it is mainly usefuls for plotting Markov random field smooths.

Usage

l_poly(...)

Arguments

...

graphical arguments to be passed to ggplot2::geom_polygon.

Value

An object of class gamLayer.

See Also

See plot.mrf.smooth for examples.


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

Related to l_poly in mgcViz...