fvcom_random | R Documentation |
A random point may fall outside of the envelope of elements/nodes since
we use a simple bounding box for each dimension. Be sure to check your
points, if that is important, with st_contains
.
fvcom_random(
x,
n = 1,
what = c("longlat", "xy")[1],
form = c("tibble", "sf")[1],
...
)
x |
FVCOM ncdf4 object |
n |
the number of points to generate |
what |
either 'lonlat' or 'xy' |
form |
character either 'tibble' or 'sf' |
... |
arguments for |
tibble of
x x coordinate, possibly lon
y y coordinate, possibly lat
z z coordinate as sigma value
time time ast POSIXct
or an sf POINT object where xy are the geometry
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.