| gen_hole | R Documentation |
Remove points within a spherical hole in the middle
gen_hole(df, anchor = NULL, r = 0.5)
df |
A tibble of coordinates. |
anchor |
A numeric vector giving the center of the hole. |
r |
A numeric value for the hole radius. |
A tibble with the hole removed.
set.seed(20240412)
df <- gen_scurve(n = 1000)
gen_hole(df, r = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.