Creates custom legend plots for cat_c and group.
create_custom_legends(
data,
cat_c,
group,
cat_c_colors,
group_colors,
var_positions,
num_vars,
dot_size
)A combined ggplot object of the custom legends.
The original data frame.
The name of the cat_c variable.
The name of the group variable.
A named vector of colors for cat_c.
A named vector of colors for the group variable.
Data frame with variable positions.
Number of variables in cat_c.
The size of the dots used in the plot.