locLine | R Documentation |
Draw vertical and/or horizontal lines at positions in a graph located by clicking
locLine(h = TRUE, v = TRUE, n = 1, ...)
h |
Draw horizontal line at clicked location? DEFAULT: TRUE |
v |
Draw vertical line at clicked location? DEFAULT: TRUE |
n |
Number of points to be clicked. DEFAULT: 1 |
... |
Further arguments passed to |
Not tested across platforms yet...
locator
result
Berry Boessenkool, berry-b@gmx.de, Mar 2016
locArrow
, locator
, abline
plot(cumsum(rnorm(60)), type="l")
## locLine() # only do this manually in interactive() mode
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.