View source: R/utils_sampling.R
sample_perimeter | R Documentation |
Sample n point regularly spaced on a circle
sample_perimeter(n = 7, x0 = 0, y0 = 0, r = 1)
n |
number of points |
x0 , y0 |
coordinates of the center of the sampled circle |
r |
radius of the sampled circle |
a dataframe with n, x, and y columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.