Produce error bars at given positions. When se=FALSE
, input should be y1
=lower limit and y2
=upper limit. When se=TRUE
, input should be y1
=mean and y2
=standard error, in which case error bars represent two standard errors either side of the mean. Can handle vector inputs as well as scalars.
1 2 |
y1 |
under first method (when |
y2 |
as above, either the upper limit of the error bar, or the standard deviation of the distribution that will be used to produce error bars. |
x |
horizontal position of error bars. |
se |
whether to use values |
width |
length of error bar handles. |
col |
colour of error bars. |
lty |
line type of error bars. |
lwd |
line width of error bars. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.