Uses confirm_overlap in a pairise fashion to see venn style comparison of unique values between the columns chosen by a tidyselect specification.

determine_overlap(db, ...)

Arguments

db

a data frame

...

tidyselect specification. Default being everything.

Value

tibble

Examples


iris %>%
determine_overlap()
#> # A tibble: 6 × 7
#>   col1         col2   names_only_col_1 names_only_col_2 shared_names total_names
#>   <chr>        <chr>             <int>            <int>        <int>       <int>
#> 1 Petal.Length Petal…               34               13            9          56
#> 2 Petal.Length Sepal…               19               11           24          54
#> 3 Petal.Length Sepal…               32               12           11          55
#> 4 Petal.Width  Sepal…               22               35            0          57
#> 5 Petal.Width  Sepal…               17               18            5          40
#> 6 Sepal.Length Sepal…               34               22            1          57
#> # … with 1 more variable: pct_shared_names <chr>