habitat_threshold: Threshold current habitat suitability rasters.

View source: R/SDM_GEN_MAPPING_FUNCTIONS.R

habitat_thresholdR Documentation

Threshold current habitat suitability rasters.

Description

Takes a habitat suitability layer, and creates a binary suitability layer (0, 1) using a threshold value.

Usage

habitat_threshold(taxa_list, maxent_table, maxent_path, poly_path, epsg)

Arguments

taxa_list

Character string - The taxa to run maxent predictions for

maxent_table

Data frame - A table of maxent results to be used for mapping

maxent_path

Character string - The file path containing the existing maxent models

poly_path

Character string - file path to feature polygon layer

epsg

Numeric - ERSP code of coord ref system to be translated into WKT format

cell_factor

Numeric - Cell size to resample output

country_shp

Character string - Shapefile name that has already been read into R (e.g. in the Package)

country_prj

Character string - Name of projection

write_rasters

Logical - Save rasters (T/F)?


HMB3/nenswniche documentation built on Jan. 31, 2023, 11:46 p.m.