Learn R Programming

maskRangeR (version 1.1)

manyMaskSensitivity: 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`

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

Details

See Examples.

Examples

Run this code
# NOT RUN {
#See lotsOfMasks and maskRanger examples

# }

Run the code above in your browser using DataLab