Simulate new points on a specific sf object. See st_sample for details.
1 | brk_newPoints(sf, size = 100)
|
sf |
object of class sf or sfc |
size |
sample size(s) requested; either total size, or a numeric vector with sample sizes for each feature geometry. When sampling polygons, the returned sampling size may differ from the requested size, as the bounding box is sampled, and sampled points intersecting the polygon are returned. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.