optOccThresh | R Documentation |
This function optimises a threshold probability above which a grid cell is classed as a presence, and below which it is classed as an absence. Optimisation is achieved by maximising the proportion of data correctly classified.
optOccThresh(inPath, group, species, outPath, map, presAb)
inPath |
String. Path to the ensemble model outputs. |
group |
string. Taxonomic group. There must be a file in inPath. |
species |
String. There must be a file in inPath called /<group>/<species>.asc. |
outPath |
String. Where to store the outputs. |
map |
Logical. If true writes an ascii file to outPath. |
presAb |
String. Presence/ pseudo absence data created by createPresAb for the chosen group. |
A dataframe with four columns: Threshold probability of occurrence, species and group. Optionally a raster can be written to file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.