powered by
Calculates values of a series of different evaluations metrics for a model and for a given threshold value
ecospat.meva.table(Pred, Sp.occ, th)
A contingency table of observations and predicted probabilities of presence values, and a list of evaluation metrics for the selected threshold.
A vector of predicted probabilities
A vector of binary observations of the species occurrence
Threshold used to cut the probability to binary values
Antoine Guisan antoine.guisan@unil.ch with contributions of Luigi Maiorano luigi.maiorano@gmail.com
Pearce, J. and S. Ferrier. 2000. Evaluating the predictive performance of habitat models developed using logistic regression. Ecol. Model., 133, 225-245.
ecospat.max.kappa, ecospat.max.tss, ecospat.plot.tss, ecospat.cohen.kappa, ecospat.plot.kappa
ecospat.max.kappa
ecospat.max.tss
ecospat.plot.tss
ecospat.cohen.kappa
ecospat.plot.kappa
Pred <- ecospat.testData$glm_Agrostis_capillaris Sp.occ <- ecospat.testData$Agrostis_capillaris meva <- ecospat.meva.table (Pred, Sp.occ, 0.39)
Run the code above in your browser using DataLab