Plot Horizontal and Vertical Line Segments on Existing Plot
1 2 3 |
x |
a vector of x coordinates used as a centroid from which to draw segments. |
x.unc.lo |
a vector of uncertainites added and subracted from x to create segments. |
y |
a vector of y coordinatesused as a centroid from which to draw segments. |
y.unc.lo |
a vector of uncertainites added and subracted from y to create segments. |
x.unc.hi |
a vector of uncertainites added and subracted from x to create segments. |
y.unc.hi |
a vector of uncertainites added and subracted from y to create segments. |
xlog |
logical; if TRUE changes nonpositive values to xlog.value |
xlog.value |
default 0.01 |
na.rm |
logical; if TRUE, NA values in x and x.unc (y and y.unc) values result in no vertical (horizontal) line being drawn. |
... |
further arguments passed to segments |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.