thrshld_b: Apply threshold for MaxEnt projections for multiple species

View source: R/6.f.threshold.R

thrshld_bR Documentation

Apply threshold for MaxEnt projections for multiple species

Description

This function will apply the selected threshold criterias to MaxEnt model projection(s) of a 'mcmp.l' object and save on the folder "3_out.MaxEnt/Mdls.[species name]/Mdls.thrshld". For each projection (species and climatic scenario), two layers will be generated, one with suitability above the threshold value and another with presence/absence only.

Usage

thrshld_b(mcmp.l, thrshld.i = 4:6, t.all = FALSE, numCores = 1)

Arguments

mcmp.l

Object returned by proj_mdl_b, containing a list of calibrated models and model projections for each species.

thrshld.i

List of threshold criteria to be applied. Use numbers to choose the desired one(s). Current options: 1. Fixed.cumulative.value.1 (fcv1); 2. Fixed.cumulative.value.5 (fcv5); 3. Fixed.cumulative.value.10 (fcv10); 4. Minimum.training.presence (mtp); 5. 10.percentile.training.presence (x10ptp); 6. Equal.training.sensitivity.and.specificity (etss); 7. Maximum.training.sensitivity.plus.specificity (mtss); 8. Balance.training.omission.predicted.area.and.threshold.value (bto); 9. Equate.entropy.of.thresholded.and.original.distributions (eetd).

t.all

logical. Should threshold be applied on individual and consensus projections? Default is FALSE. Ignored if consensus projections are not found.

numCores

Number of cores to use for parallelization. If set to 1, no paralellization is performed

Value

List of stack or brick of thresholded predictions

See Also

thrshld

Examples

## Not run: 
mods.thrshld.lst <- thrshld_b(mcmp.l=mxnt.mdls.preds.cf)

## End(Not run)

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