powered by
Calculates values for True skill statistic (TSS) along different thresholds, considering this time 0.01 increments (i.e. 99 thresholds).
ecospat.max.tss(Pred, Sp.occ)
Return values for TSS for 99 thresholds at 0.01 increments.
A vector of predicted probabilities
A vector of binary observations of the species occurrence
Luigi Maiorano luigi.maiorano@gmail.com with contributions of Antoine Guisan antoine.guisan@unil.ch
Liu, C., P.M. Berry, T.P. Dawson, and R.G. Pearson. 2005. Selecting thresholds of occurrence in the prediction of species distributions. Ecography, 28, 385-393.
ecospat.meva.table, ecospat.max.kappa, ecospat.plot.tss, ecospat.cohen.kappa, ecospat.plot.kappa
ecospat.meva.table
ecospat.max.kappa
ecospat.plot.tss
ecospat.cohen.kappa
ecospat.plot.kappa
data(ecospat.testData) Pred <- ecospat.testData$glm_Agrostis_capillaris Sp.occ <- ecospat.testData$Agrostis_capillaris TSS100 <- ecospat.max.tss(Pred, Sp.occ)
Run the code above in your browser using DataLab