| circleUnif | R Documentation | 
The function circleUnif samples n points from the circle of radius r, uniformly with respect to the circumference length.
  circleUnif(n, r = 1)
n | 
 an integer specifying the number of points in the sample.  | 
r | 
 a numeric variable specifying the radius of the circle. The default value is   | 
circleUnif returns an n by 2 matrix of coordinates.
Uniform sample from sphere of arbitrary dimension can be generated using sphereUnif.
Fabrizio Lecci
sphereUnif, torusUnif
X <- circleUnif(100)
plot(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.