a matrix or dataframe of observed and predicted values where each row represents one plot and where columns are:
DATA[,1]
plot ID
text
DATA[,2]
observed values
zero-one values
DATA[,3]
predicted probabilities from first model
numeric (between 0 and 1)
DATA[,4]
predicted probabilities from second model, etc...
threshold
a cutoff values between zero and one used for translating predicted probabilities into 0 /1 values, defaults to 0.5. threshold can be a single value between zero and one, a vector of values between zero and one, or a positive integer representing the number of evenly spaced thresholds to calculate.
which.model
a number indicating which models from DATA should be used
na.rm
a logical indicating whether missing values should be removed