same_variables {dataCompare} | R Documentation |
Detect common variables in two dataset
same_variables(df1, df2)
df1 |
the first dataset to use |
df2 |
The second dataset to use |
a Character vector containing all variables names in both df1 and df2
same_variables(iris, iris)
same_variables(mtcars, mtcars)