apply_binary_mask: Create a binary group value from a set of logical columns.

View source: R/upset.R

apply_binary_maskR Documentation

Create a binary group value from a set of logical columns.

Description

Intersection of columns will be encoded as a binary value (1 column => 1 bit)

Usage

apply_binary_mask(data, mask, column)

Arguments

data

data.frame

mask

binary mask for each column (see create_binary_mask)

column

name of the column that will contain the group value

See Also

Other upset: create_binary_groups(), create_binary_mask(), get_labels_from_binary(), upset_plot()


cturbelin/ifnBase documentation built on Nov. 5, 2023, 12:54 p.m.