Add error bars onto barplot
1 |
x |
A matrix object output from barplot() function. |
y |
A numeric vector of Y-axis variable (typically mean) |
upper |
A numeric of vertical lenght of upper error bars |
lower |
A numeric of vertical lenght of lower error bars. Defults to upper. |
length |
A vector of lengths of the edges of the arrow head (in inches). Defults to 0.1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.