Plot the summary of a voting bloc analysis
vb_plot(
data,
x_col = get_bloc_var(data),
y_col,
ymin_col,
ymax_col,
discrete = length(unique(data[[x_col]])) < 20
)
a ggplot object
a vbsum
data.frame, the result of [vb_summary].
string naming the column that defines voting blocs.
string naming the column of point estimates.
string naming the column to plot as the lower bound of the confidence interval.
string naming the column to plot as the upper bound of the confidence interval.
logical indicating whether voting blocs are defined along a discrete (not continuous) variable.