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')

psda documentation built on July 1, 2020, 6:10 p.m.