pplot: Plot polygonal symbolic variable

Description Usage Arguments Examples

View source: R/pplot.R

Description

Prints all overlaid polygons in the display. The polygons obtained through classes.

Usage

1
pplot(polygon, center = FALSE, color = "black")

Arguments

polygon

A list of matrices with dimension l x 2 where l represents vertices number of polygon.

center

logical. iF FALSE(the default) the center of polygon is not displayed.

color

A string that describes the color of center.

Examples

1
2
x <- psim(10, 10) #simulate 10 polygons of 10 sides
pplot(x, center = TRUE, color = 'red')

wagnerjorge/psda documentation built on Jan. 30, 2021, 1:59 a.m.