assert_valid_var_pair | R Documentation |
Check variables are of same levels
assert_valid_var_pair(
df1,
df2,
var,
lab1 = deparse(substitute(df1)),
lab2 = deparse(substitute(df2))
)
df1 |
( |
df2 |
( |
var |
( |
lab1 |
( |
lab2 |
( |
invisible NULL
or an error message if the criteria are not fulfilled.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.