plot_caterpillar_chart.Rd
this function plots a caterpillar chart using the dataframe created by create_caterpillar_df()
plot_caterpillar_chart(
df,
y_var = rate,
x_var = site_name,
point_shape = "diamond",
point_size = 2,
bar_width = 3,
dt_color = OBI.color::prim_dark_blue()
)
Data frame created by create_caterpillar_df()
Variable to be placed on the y axis - default is rate, which is the rate variable created by create_caterpillar_df()
Variable to be placed on the x axis - default is site_name
Shape of the points - default is "diamond"
Size of the points - default is 2
Width of the error bars - default is 3
Color for the data points and errorbars - default is OBI.color::prim_dark_blue()