Learn R Programming

ecospat (version 3.2)

ecospat.meva.table: 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.

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

Run this code
# NOT RUN {
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