ecospat.max.kappa: Maximum Kappa

View source: R/ecospat.eval.R

ecospat.max.kappaR Documentation

Maximum Kappa

Description

Calculates values for Cohen's Kappa along different thresholds, considering this time 0.01 increments (i.e. 99 thresholds).

Usage

    ecospat.max.kappa(Pred, Sp.occ)

Arguments

Pred

A vector of predicted probabilities

Sp.occ

A vector of binary observations of the species occurrence

Value

Return values for Cohen's Kappa for 99 thresholds at 0.01 increments.

Author(s)

Antoine Guisan antoine.guisan@unil.ch with contributions of Luigi Maiorano luigi.maiorano@gmail.com and Valeria Di Cola valeria.dicola@unil.ch.

References

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.

See Also

ecospat.meva.table, 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
kappa100 <- ecospat.max.kappa(Pred, Sp.occ)
   


ecospat documentation built on July 4, 2024, 5:06 p.m.