data_frame_to_list {ggvenn} | R Documentation |
Utility function for data type conversion.
Description
Utility function for data type conversion.
Usage
data_frame_to_list(x)
Arguments
x |
A data.frame with logical columns representing sets. |
Value
A list of sets.
Examples
d <- tibble(name = 1:6,
A = c(rep(TRUE, 5), FALSE),
B = rep(c(FALSE, TRUE), each = 3))
print(d)
data_frame_to_list(d)
[Package ggvenn version 0.1.10 Index]