Description Usage Arguments Details
Function that splits standard deviation (error) values in a column into two new positive and negative columns based on the mean variable value. Used to produce upper or lower error bars on bar plot. Dataframe should contain unique mean and sd columns with matching variable name prefix and differing only by suffix "_mean" or "_sd" (or "_sem"). Note: If there are any unmatched mean and sd pairs the function will fail.
1 |
df |
dataframe with mean and sd columns. Columns without proper suffix ("_mean" and "_sd" (or "_sem)) will be ignored. |
sd_split fizzTulz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.