data_frame_to_list: Utility function for data type conversion.

View source: R/data_frame_to_list.R

data_frame_to_listR 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)

yanlinlin82/ggvenn documentation built on Feb. 5, 2024, 6:11 p.m.