slice_diffs {versus} | R Documentation |
Get rows with differing values
Description
Get rows with differing values
Usage
slice_diffs(comparison, table, column = everything())
Arguments
comparison |
The output of |
table |
One of |
column |
< |
Value
The input table is filtered to the rows for which comparison
shows differing values for one of the columns selected by column
Examples
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))
[Package versus version 0.3.0 Index]