score_lookup: Convert a score from a long name to a short name, or vice...

View source: R/score_lookup.R

score_lookupR Documentation

Convert a score from a long name to a short name, or vice versa

Description

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")
score_lookup("mr")
score_lookup("heidke_skill_score")

andrew-MET/harpVis documentation built on March 11, 2024, 9:34 a.m.