Novartis / xgxr

R package for supporting exploratory graphics at http://opensource.nibr.com/xgx
Other
13 stars 7 forks source link

mean +/- SD ? #32

Closed margoal1 closed 2 years ago

margoal1 commented 4 years ago

Received a request to have an option to plot Mean +/- SD instead of Mean & CI. I think Mean +/- SE is already the default for stat_summary, but what about SD?

iamstein commented 3 years ago

Mean ± CI = Mean ± SD when it's a 68% confidence interval (instead of 95th). As we do give the user the option to set the size of the confidence interval they want, this is easily implementable. I'd suggest directed the user to use this CI option. https://en.wikipedia.org/wiki/68%E2%80%9395%E2%80%9399.7_rule