assert_valid_var_pair {chevron} | R Documentation |
Check variables are of same levels
Description
Check variables are of same levels
Usage
assert_valid_var_pair(
df1,
df2,
var,
lab1 = deparse(substitute(df1)),
lab2 = deparse(substitute(df2))
)
Arguments
df1 |
( |
df2 |
( |
var |
( |
lab1 |
( |
lab2 |
( |
Value
invisible NULL
or an error message if the criteria are not fulfilled.
[Package chevron version 0.2.6 Index]