add_set_intersection_to_df: Create a vector containing the weighted percentages in each...

Description Usage Arguments Value

View source: R/intersect_functions.R

Description

Create a vector containing the weighted percentages in each set

Usage

1
add_set_intersection_to_df(data, varnames, exclude_unique = T)

Arguments

data

a dataframe containing all the sets for each record, coercible to 1,0

varnames

a vector containing the names of variables to be used in the intersection

exclude_unique

whether the set intersections should include singular sets (i.e. that one variable). Note that if this is set to True, the total set size on the left will be wrong

Value

A vector of the aggregated percent for each intersection


ellieallien/Setviz documentation built on March 8, 2020, 9:58 p.m.