getPrecisionPar: Calculate model precision at given threshold values (in...

View source: R/getPrecisionPar.R

getPrecisionParR Documentation

Calculate model precision at given threshold values (in parallel).

Description

Function that counts cells (number and proportion) above given values.

Usage

getPrecisionPar(rasterstack, checkVals, method = FALSE, nCluster = 20)

Arguments

rasterstack

RasterStack of probability surfaces

checkVals

vector of numeric 'threshold' values against which to calculate precision

method

is FALSE by default. If character vector, appends a column recording 'method' used.

nCluster

is a numeric object specifying how many clusters to form and run in parallel.

Value

Returns a dataframe of precision values at given threshold.


cjcampbell/IsoModAT documentation built on Feb. 21, 2024, 10:27 a.m.