chlorpromazineR uses conversion factors stored in a named list of 3 named lists. This verifies that the key is in a usable format, which can be helpful when creating custom keys or modifying included keys.

check_key(key)

Arguments

key

the key to check

Value

TRUE if the key is valid, otherwise a error is thrown.

See also

Other key functions: add_key(), trim_key()

Examples

check_key(gardner2010)
#> [1] TRUE