Description Usage Arguments Details Value Examples
View source: R/clipHullsToLand.R
clipHullsToLand
returns the clipped convex hulls by species for a
single object of class sf (a data frame).
1 |
x |
object of class sf, sfc or sfg |
These hulls are clipped to landmasses only.
To generate hulls and clip them to landmasses with a single function see
makeLandClippedHulls. x
must have
both a geometry
and a binomial
column present to work.
For more felxible convex hull generation see st_convex_hull
Landmasses used to clip to are generated from the rnaturalearth
package using the ne_countries
function. please see its documentation
here ne_countries for a full breakdown.
Returns object x
with clipped convex hulls computed and stored
in the convex_hull
column.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.