Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

genCircle

Create a sequence of points on a circle


Description

This is a helper function that creates a sequence of points on a circle of radius r as a resolution determined by n. It is not intended for direct calling, and is used by the ellipse plotting function addEllipse. NB not an exported function.

Usage

genCircle(n = 100, r)

Arguments

n

the number of points to create around the circle. Defaults to 100.

r

the radius of the circle to create.

Value

A 2 x n matrix of x and y coordinates of points on a circle.


SIBER

Stable Isotope Bayesian Ellipses in R

v2.1.6
GPL (>= 2)
Authors
Andrew Jackson and Andrew Parnell
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.