slice_diffs | R Documentation |
Get rows with differing values
slice_diffs(comparison, table, column = everything())
comparison |
The output of |
table |
One of |
column |
< |
The input table is filtered to the rows for which comparison
shows differing values for one of the columns selected by column
comp <- compare(example_df_a, example_df_b, by = car)
comp |> slice_diffs("a", mpg)
comp |> slice_diffs("b", mpg)
comp |> slice_diffs("a", c(mpg, disp))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.