manyMaskSensitivity: Sensitivity testing for masks

View source: R/manyMaskSensitivity.R

manyMaskSensitivityR Documentation

Sensitivity testing for masks

Description

Compare how masks of climate tolerances affect predicted area

Usage

manyMaskSensitivity(crt, rasProj = NULL, maskBounds, expertRaster)

Arguments

crt

A raster stack; the output from the function maskRangeR::cropResampleTrim

rasProj

(optional) a character string: a proj4string showing the projection of the environmental layers. If NULL, areas will be estimated using the raster package.

maskBounds

A data.frame with columns indicating the layer name (matching the names in maskStack), and the min and max values of that layer to be used for masking.

expertRaster

The binary expert map (1s and 0s), rasterized with the same projection as 'maskStack'

Details

See Examples.

Value

returns a data.frame where row names are the environmental layer name combinations, and Area is expressed in square km, unless a projection is supplied

Author(s)

Peter Galante <pgalante@amnh.org>

Examples

#See lotsOfMasks and maskRanger examples


maskRangeR documentation built on May 11, 2022, 5:07 p.m.