Description Usage Arguments Details Value Note Author(s) References See Also Examples

This function converts the score of a measure that ranges from -1 to 1 (e.g. a kappa or TSS value obtained for a model) into its (linearly) corresponding value in 0-to-1 scale, so that it can be compared directly with measures that range between 0 and 1 (such as CCR or AUC). It can also perform the conversion in the opposite direction.

1 | ```
standard01(score, direction = c("-1+1to01", "01to-1+1"))
``` |

`score` |
numeric value indicating the score of the measure of interest. |

`direction` |
character value indicating the direction in which to perform the standardization. The default, |

While most of the threshold-based measures of model evaluation range theoretically from 0 to 1, some of them (such as Cohen's kappa and the true skill statistic, TSS) may range from -1 to 1 (Allouche et al. 2006). Thus, the values of different measures may not be directly comparable (Barbosa 2015). We do not usually get negative values of TSS or kappa (nor values under 0.5 for CCR or AUC, for example) because that only happens when model predictions perform worse than random guesses; still, such values are mathematically possible, and can occur e.g. when extrapolating models to regions where where the species-environment relationships differ. This standardization is included as an option in the `threshMeasures`

function.

The numeric value of `score`

when re-scaled to the 0-to-1 (or to the -1 to +1) scale.

Note that this is not the same as re-scaling a vector so that it ranges between 0 and 1, which is done by `range01`

.

A. Marcia Barbosa

Allouche O., Tsoar A. & Kadmon R. (2006) Assessing the accuracy of species distribution models: prevalence, kappa and the true skill statistic (TSS). Journal of Applied Ecology 43: 1223-1232

Barbosa, A.M. (2015) Re-scaling of model evaluation measures to allow direct comparison of their values. The Journal of Brief Ideas, 18 Feb 2015, DOI: 10.5281/zenodo.15487

1 2 3 4 5 | ```
standard01(0.6)
standard01(0.6, direction = "-1+1to01")
standard01(0.6, direction = "01to-1+1")
``` |

modEvA documentation built on May 29, 2017, 10:47 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.