confirm_overlap {validata} | R Documentation |
Confirm Overlap
Description
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.
Usage
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)
Arguments
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 |
Value
tibble. overlap summary or overlap table
Examples
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()
[Package validata version 0.1.0 Index]