makeLandClippedHulls: Creates convex hulls which are clipped to landmasses

Description Usage Arguments Details Value Examples

View source: R/makeLandClippedHulls.R

Description

makeLandClippedHulls returns the clipped convex hulls by species for a single object of class sf (a data frame).

Usage

1

Arguments

x

object of class sf, sfc or sfg

Details

CHECK THIS I MIGHT HAVE FIXED THAT

A warning message will appear for st_intersection, which is correct, however so long as the crs of your geometry column is longitude/latitude (4326) it is of no consequence.

These hulls are clipped to landmasses only. 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.

Value

An object (x) of class sf, sfc or sfg with clipped convex hulls computed and stored in the geometry column.

Examples

1

JCur96/sfe documentation built on Sept. 2, 2020, 6:02 p.m.