ecospat.meva.table {ecospat}R Documentation

Model Evaluation For A Given Threshold Value

Description

Calculates values of a series of different evaluations metrics for a model and for a given threshold value

Usage

    ecospat.meva.table(Pred, Sp.occ, th)

Arguments

Pred

A vector of predicted probabilities

Sp.occ

A vector of binary observations of the species occurrence

th

Threshold used to cut the probability to binary values

Value

A contingency table of observations and predicted probabilities of presence values, and a list of evaluation metrics for the selected threshold.

Author(s)

Antoine Guisan antoine.guisan@unil.ch with contributions of Luigi Maiorano luigi.maiorano@gmail.com

References

Pearce, J. and S. Ferrier. 2000. Evaluating the predictive performance of habitat models developed using logistic regression. Ecol. Model., 133, 225-245.

See Also

ecospat.max.kappa, ecospat.max.tss, ecospat.plot.tss, ecospat.cohen.kappa, ecospat.plot.kappa

Examples


Pred <- ecospat.testData$glm_Agrostis_capillaris
Sp.occ <- ecospat.testData$Agrostis_capillaris

meva <- ecospat.meva.table (Pred, Sp.occ, 0.39)

[Package ecospat version 3.2.2 Index]