Description Usage Arguments Value Examples
View source: R/reserve-perimeter.r
Calculate the perimeter of a reserve network
1 | reserve_perimeter(pu, x, units = c("km", "m"))
|
pu |
raster::RasterStack, sp::SpatialPolygonsDataFrame, or sf::sf object; planning units and representation levels of features as layers (raster inputs) or columns (vector inputs). |
x |
logical or binary; indicator variables specifying which planning units are included. |
units |
character; metapopulation capacity depends on the units used for the areas and distances, this argument determines whether these are measured in meters or kilometers. |
A units
object giving the reserve perimeter in the specified units.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.