Description Usage Arguments Value
View source: R/intersect_functions.R
Create a plot from a dataset and variable names combining the make_set_percentages and set_percentage_plot functions
1 2 3  | plot_set_percentages(data, varnames, weight_variable = NULL,
  weighting_function = NULL, nintersects = 12, exclude_unique = T,
  label = NULL)
 | 
data | 
 a dataframe containing all the 1,0 indicators in varnames  | 
varnames | 
 a vector containing the names of variables to be used in the intersection  | 
weight_variable | 
 a character string: the name of the variable in the dataset containing the weights, defaults to NULL  | 
nintersects | 
 number of intersections to look at, the default being 12  | 
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  | 
label | 
 the label to be added to the plot  | 
An UpSetR plot object with the different sets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.