mask_thr_projs_mscn_b: Remove areas from projections using polygons or binary...

View source: R/6.2.f.mask_threshold.R

mask_thr_projs_mscn_bR Documentation

Remove areas from projections using polygons or binary rasters

Description

This function will remove (mask) areas from suitability projections using polygons or binary rasters. This is usefull to filter predicted areas overlapping (e.g.) protected areas or species habitats (forests, open areas, etc.).

Usage

mask_thr_projs_mscn_b(
  mtp.l,
  sp.mask,
  pred.args = "cloglog",
  append = T,
  mask.nm = "msk"
)

Arguments

mtp.l

List of stack or brick of thresholded predictions

sp.mask

spatial object or list of spatial objects to use for masking suitability projections

pred.args

arguments used for MaxEnt prediction. Can be found in mcmp$pred.args. See resulting object from calib_mdl or calib_mdl_b functions

append

Logical. Should append or not the resulting masked rasters? Append (append=T): apply masks sequentially on the raster and save each one as separate layer. Cascade (append=F): apply all masks on the raster and save as a single layer.

mask.nm

Character vector. Names to identify the resulting masked rasters. Should have the same length of 'sp.mask'.

Examples

## Not run: 
mask_thr_projs_mscn_b(mtp.l=mods.thrshld.lst, sp.mask=NewWorld)

## End(Not run)

HemingNM/ENMwizard documentation built on Jan. 4, 2024, 3:24 p.m.