Skip to contents

score_lookup looks for the input in a dictionary - if it corresponds to a short name, the long name is returned, and if it corresponds to a long name, the short name is returned. The argument is returned unchanged if it is not found in the dictionary. If no argument is given, the dictionary is returned.

Usage

score_lookup(x)

Arguments

x

The name of the score to look up

Value

The short name or long name of the score

Examples

score_lookup("SEDI")
#> [1] "symmetric_edi"
score_lookup("mr")
#> [1] "miss_rate"
score_lookup("heidke_skill_score")
#> [1] "hss"