Open MrichardsPSRC opened 1 month ago
I created a facet chart with stacked columns using the psrcplot function, but the error bars are showing as if the columns were "dodge" instead of "stack" as the pos argument
pos
prev_tenure_vis <- static_facet_column_chart(disp_prev_tenure, x = "prev_rent_own_bin2", y = "prop", fill = "displaced_movers", facet="survey_year", ylabel = "% of respondents", xlabel = "Household race", title = "Displacement by Previous Housing Tenure", moe = "prop_moe", ncol=2, pos="stack") + theme( axis.text.x = element_text(size = 14), axis.text.y = element_text(size = 14), axis.title.y = element_text(size = 20), axis.title.x = element_text(size = 20), plot.title = element_text(size = 24) )
I created a facet chart with stacked columns using the psrcplot function, but the error bars are showing as if the columns were "dodge" instead of "stack" as the
pos
argument