genCircle: Create a sequence of points on a circle

Description Usage Arguments Value

View source: R/genCircle.R


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.


genCircle(n = 100, r)



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


the radius of the circle to create.


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

SIBER documentation built on May 20, 2017, 12:01 a.m.
Search within the SIBER package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.