circle: Return points on the unit circle

View source: R/geometry.R

circleR Documentation

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

Author(s)

David Sterratt


retistruct documentation built on April 3, 2025, 5:58 p.m.