Description Usage Arguments Value Examples
View source: R/confirm_overlap.R
Prints a venn-diagram style summary of the unique value overlap between two columns and also invisibly returns a dataframe that can be assigned to a variable and queried with the overlap helpers. The helpers can return values that appeared only the first col, second col, or both cols.
1 2 3 4 5 6 7 | confirm_overlap(vec1, vec2, return_tibble = F)
co_find_only_in_1(co_output)
co_find_only_in_2(co_output)
co_find_in_both(co_output)
|
vec1 |
vector 1 |
vec2 |
vector 2 |
return_tibble |
logical. If TRUE, returns a tibble. otherwise by default returns the database invisibly to be queried by helper functions. |
co_output |
dataframe output from confirm_overlap |
tibble. overlap summary or overlap table
1 2 3 4 5 6 7 8 9 10 11 12 | confirm_overlap(iris$Sepal.Width, iris$Sepal.Length) -> iris_overlap
iris_overlap
iris_overlap %>%
co_find_only_in_1()
iris_overlap %>%
co_find_only_in_2()
iris_overlap %>%
co_find_in_both()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.