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

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.