polygon: Construct a polygon

Description Usage Arguments Author(s) Examples

View source: R/ifs.R

Description

Similar to seq but produces regular polygons instead of line segments.

Usage

1
polygon(sides = 5, by = 0.1)

Arguments

sides

The number of sides for the polygon

by

The spacing between points

Author(s)

Brian Lee Yung Rowe

Examples

1
p <- polygon(6)

zatonovo/fractalrock documentation built on May 15, 2021, 7:28 p.m.