check_options {MMUPHin} | R Documentation |
Utility for checking options
check_options(x, x_name, options)
x |
the specified value |
x_name |
name of the specified value |
options |
allowed options |
error if x
is not in options
. Otherwise returns
x
.