errorBars | R Documentation |
Helper function for drawing error bars
errorBars(xs, val, err, l = 0.01, vertical = TRUE, topToBottom = TRUE, ...)
xs |
vector of x coordinates of data points (In case of vertical=FALSE, these are interpreted as y-coordinates) |
val |
the values (heights) of the data points. |
err |
the size amount of error associated with each bar |
l |
the length of the terminators of the bar |
vertical |
whether the bars are vertical or horizontal |
topToBottom |
whether the error is represented as the distance between the top and bottom of the bar, or the middle and the top. |
... |
any other graphical parameters |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.