check_key: Check whether a conversion key is the expected format

Description Usage Arguments Value See Also Examples

View source: R/key_functions.R

Description

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.

Usage

1
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

1

chlorpromazineR documentation built on March 14, 2021, 5:07 p.m.