invert_shapefile: Invert shapefile

Description Usage Arguments Value

Description

invert_shapefile inverts a SpatialPolygonsDataFrame. This function can be used to create a shapefile with natural boundaries/barriers.

Usage

1
invert_shapefile(shp, extend = 0.01)

Arguments

shp

SpatialPolygonsDataFrame object (sf objects as converted).

extend

Factor by which the bounding box is extended.

Value

SpatialPolygonsDataFrame


jlegewie/BoundaryDetection documentation built on May 17, 2019, 7:28 p.m.