View source: R/plotErrorBars.H.r
Adds horizontal error bars to current plot.
1 2 |
x |
- vector of x coordinates or matrix w/ columns 1 & 2 taken as x,y |
y |
- vector of y coordinates (or NULL, if x is a matrix) |
upper |
- upper CI for y |
lower |
- lower CI for y |
sigma |
- standard deviations for y |
cv |
- cvs for y, instead of sigma |
CI |
- upper confidence interval (if sigma or cv specified) |
lognormal |
- flag (T/F). if true, assumed distribution is lognormal |
width |
- relative width of error bars |
... |
- graphics parameters for segments (e.g., col, lty, lwd) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.