Description Usage Arguments Value
View source: R/intersect_functions.R
Create a vector containing the weighted percentages in each set
1 | add_set_intersection_to_df(data, varnames, exclude_unique = T)
|
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 |
A vector of the aggregated percent for each intersection
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.