Plots "Upset" graph visualizing the overlap between different psychopathological problems within a selected subgroup of participants having / not having a specific SLD

plot_figure_2(data, filter_var, invert_filter = FALSE, ymax = NULL)

Arguments

data

tbl. Input data

filter_var

character. The SLD variable name

invert_filter

logical. Whether to select children without the SLD, Default: FALSE

ymax

double. The maximum value of the y-axis of the intersection size bar plot, Default: NULL

Value

ggplot object. The plot

See also