Plot statistics with stat_summary()

Plot error bars that represent standard errors or confidence intervals

Plot error bars that represent standard deviation or IQR

I get an error when I want to plot error bars

Can you see the results of stat_summary()?

Unfortunately, no. You cannot access the results of the calculations of stat_summary(), even if you save the plot to a variable.