Learn R Programming

isocat (version 0.3.0)

getPrecisionPar: 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)

Value

Returns a dataframe of precision values at given threshold.

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.