FpbOneThreshold: Calculate the Fpb measure of model accuracy for a single...

fpbOneThresholdR Documentation

Calculate the Fpb measure of model accuracy for a single threshold

Description

Calculate the Fpb measure of model accuracy for a single threshold

Usage

fpbOneThreshold(
  threshold,
  pres,
  bg,
  presWeight = rep(1, length(pres)),
  bgWeight = rep(1, length(bg)),
  tr = NULL
)

Arguments

threshold

Numeric value or numeric vector within the range [0, 1]. Threshold value(s) at which to calculate Fpb.

pres

Numeric vector. Predictions at presences.

bg

Numeric vector. Predictions at background sites.

presWeight

Numeric same length as pres. Weights for presence predictions.

bgWeight

Numeric same length as bg. Weights for background predictions.

tr

Same as threshold but deprecated. Included for backwards compatibility.

Value

Numeric.


adamlilith/enmSdm documentation built on Jan. 6, 2023, 11 a.m.