Description Usage Arguments Value
Polygons are expanded by buffer
, and then samples are drawn from
those. See st_buffer
1 | random_points(x = read_mpa("Cuba"), buffer = 0.1, n = 1000)
|
x |
sf object of polygons |
buffer |
numeric See |
n |
integer, the number of points |
a sf object of n points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.