Description Usage Arguments Value Author(s) Examples
Checks if a parameter (PARAMCD
) does not exist in a dataset.
1 | assert_param_does_not_exist(dataset, param)
|
dataset |
A |
param |
Parameter code to check |
The function throws an error if the parameter exists in the input dataset
Stefan Bundfuss
1 2 3 | data(advs)
assert_param_does_not_exist(advs, param = "HR")
try(assert_param_does_not_exist(advs, param = "WEIGHT"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.