plot_set_percentages: Create a plot from a dataset and variable names combining the...

Description Usage Arguments Value

View source: R/intersect_functions.R

Description

Create a plot from a dataset and variable names combining the make_set_percentages and set_percentage_plot functions

Usage

1
2
3
plot_set_percentages(data, varnames, weight_variable = NULL,
  weighting_function = NULL, nintersects = 12, exclude_unique = T,
  label = NULL)

Arguments

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

Value

An UpSetR plot object with the different sets


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