Description Usage Arguments Examples
For all columns in the first data frame, check if the second data frame has identical values in columns of the same name
1 |
... |
two data frames given as named arguments. The argument names will appear in the output. By doing so you can give a longer expression that returns a data frame a short name 'on-the-fly'. |
1 2 3 4 5 6 7 | # Compare two identical data frames. Give them short names data.1 and data.2
testColumnwiseIdentity(data.1 = (x <- data.frame(a = 1:2, b = 2:3)),
data.2 = x)
# Compare two data frames differing in one column
testColumnwiseIdentity(A = data.frame(x = 1:2, y = 2:3),
B = data.frame(x = 1:2, y = 3:4))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.