Plots a Polygonal Domain (of Various Classes)
plot_polyregion(polyregion, lwd = 2, add = FALSE)
a polygonal domain.
The following classes are supported:
"owin"
from package spatstat.geom,
"gpc.poly"
from rgeos (or
gpclib),
"SpatialPolygons"
, "Polygons"
,
and "Polygon"
from package sp, as well as
"(MULTI)POLYGON"
from package sf.
(For these classes, polyCub knows how to get an xylist
.)
line width of the polygon edges.
logical. Add to existing plot?