Description Usage Arguments Value Examples
Performs a test that the dataframe is equal to another dataframe.
1 | test_same_as_other_df(df, df2)
|
df |
A dataframe |
df2 |
Another dataframe |
df
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Basic usage
## Not run:
test_same_as_other_df(mtcars, mtcars)
test_same_as_other_df(mtcars, iris)
## End(Not run)
# Can also be used in magrittr pipe
## Not run:
library(dplyr)
mtcars %>%
mutate(mpg = 50) %>%
test_same_as_other_df(mtcars)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.