assert_variables_exist | R Documentation |
Performs an assertion check to ensure that a vector of variable exists within a data.frame as expected.
assert_variables_exist(data, vars)
data |
a data.frame |
vars |
a character vector of variable names |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.