gridExtra (version 0.7)

polygon.regular: polygon.regular

Description

compute vertices of a polygon

Usage

polygon.regular(sides=4, scale.area=TRUE, star=FALSE)

Arguments

sides
int
scale.area
logical
star
logical

Value

  • a data.frame

References

ngon from the 'maptree' package

See Also

star

Examples

Run this code
polygon.regular(5)

Run the code above in your browser using DataCamp Workspace