Learn R Programming

retistruct (version 0.6.3)

circle: Return points on the unit circle

Description

Return points on the unit circle in an anti-clockwise direction. If L is not specified n points are returned. If L is specified, the same number of points are returned as there are elements in L, the interval between successive points being proportional to L.

Usage

circle(n = 12, L = NULL)

Arguments

n

Number of points

L

Intervals between points

Value

The cartesian coordinates of the points