roctable: Construct a basic ROC table

View source: R/roctable.R

roctableR Documentation

Construct a basic ROC table

Description

TOC internal function. Construct a basic ROC table

Usage

roctable(indval, boolval, maskval = NULL, nthres = NULL, 
         thres = NULL, NAval = 0, progress = FALSE, 
         ones.bool = NULL, zeros.bool = NULL)

Arguments

indval

numeric index vector

boolval

numeric boolean vector

maskval

numeric mask vector

nthres

an optional integer indicating the number of equal-interval thresholds to be evaluated for the TOC curve. See Details below

thres

an optional numeric vector of thresholds to be evaluated for the TOC curve. See Details below

NAval

value for nodata (NA values) in the mask map

progress

logical; if TRUE, a progress bar is shown

ones.bool

numeric value indicating total number of 1's in the boolean vector

zeros.bool

numeric value indicating total number of 0's in the boolean vector

Value

a data.frame with a basic ROC table and a numeric value for minimum value in the index vector

Note

This function is not meant to be called by users directly


TOC documentation built on Feb. 16, 2023, 7:10 p.m.