Learn R Programming

mgcViz (version 0.2.0)

l_poly: 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(...)

Value

An object of class gamLayer.

Arguments

...

graphical arguments to be passed to ggplot2::geom_polygon.

See Also

See plot.mrf.smooth for examples.