Adding labels
hiya,
Could I get some help with moving my label, n, to be positioned next to my error bar on the right (xmax = ci_u) and to also write it so n is displayed on the plot in brackets?
ggplot(data=Abundance_plot, aes(y=Response_variable, x=g, xmin=ci_l, xmax=ci_u, colour=significance))+ #aes = aesthetics of plot
geom_point(aes(size=5))+ #this adds the effect sizes to the plot
geom_text(aes(label = n, x = g + 3))+
geom_errorbarh(height=.5)+ # add error bars and specify heights of errorbars
geom_vline(xintercept=0, color="black", linetype="dashed", alpha=.5)+ # geom vertical line (puts straight line at 0), alpha is transparency
facet_grid(Taxonomic_group~., scales= "free", space="free", labeller = as_labeller(Taxonomic_group_abd_labels))+
Thank you!