Learn R Programming

ecospat (version 3.3)

ecospat.max.tss: Maximum TSS

Description

Calculates values for True skill statistic (TSS) along different thresholds, considering this time 0.01 increments (i.e. 99 thresholds).

Usage

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

Value

Return values for TSS for 99 thresholds at 0.01 increments.

Arguments

Pred

A vector of predicted probabilities

Sp.occ

A vector of binary observations of the species occurrence

Author

Luigi Maiorano luigi.maiorano@gmail.com with contributions of Antoine Guisan antoine.guisan@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.kappa, ecospat.plot.tss, ecospat.cohen.kappa, ecospat.plot.kappa

Examples

Run this code

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