TOC internal function. Construct a basic ROC table
roctable(indval, boolval, maskval = NULL, nthres = NULL,
thres = NULL, NAval = 0, progress = FALSE,
ones.bool = NULL, zeros.bool = NULL)
a data.frame with a basic ROC table and a numeric value for minimum value in the index vector
numeric index vector
numeric boolean vector
numeric mask vector
an optional integer indicating the number of equal-interval thresholds to be evaluated for the TOC curve. See Details below
an optional numeric vector of thresholds to be evaluated for the TOC curve. See Details below
value for nodata (NA values) in the mask map
logical; if TRUE, a progress bar is shown
numeric value indicating total number of 1's in the boolean vector
numeric value indicating total number of 0's in the boolean vector