l_poly {mgcViz}R 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.


[Package mgcViz version 0.1.11 Index]