Closed z-aftab closed 2 years ago
stat_summary
has a parameter called "type" that lets you choose the error type.
stat_summary('type','std')
will do Std. Dev.
Other types are possible such as S.E.M. and also custom error functions.
Check out the documentation: doc stat_summary
. You will see all options.
Thanks. Actually I was not writing the command in correct order/format. Here is what worked for me eventually as you suggested: myobject.stat_summary('type','std','geom',{'bar','black_errorbar'});
Awesome submission. I was just wondering if there is a way to show Mean +- Std Dev. in "stat_summary" method? Apparently the available options plot 95% CI which is not the same. Often we need to plot error bars using Std. Dev.