Description Usage Arguments Value Author(s) See Also Examples
View source: R/confusion.matrix.R
confusion.matrix
calculates a confusion matrix.
Note: this method will exclude any missing data
1 | confusion.matrix(obs, pred, threshold = 0.5)
|
obs |
a vector of observed values which must be 0 for absences and 1 for occurrences |
pred |
a vector of the same length as |
threshold |
a single threshold value between 0 & 1 |
Returns a confusion matrix (table) of class 'confusion.matrix' representing counts of true & false presences and absences.
Jeremy VanDerWal jjvanderwal@gmail.com
auc
, Kappa
,
omission
, sensitivity
,
specificity
, prop.correct
,
accuracy
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.