View source: R/arrows.circular.R
arrows.circular | R Documentation |
Draw arrows in a circular plot.
arrows.circular(x, y = NULL, x0 = 0, y0 = 0, na.rm = FALSE,
shrink = 1, plot.info = NULL, zero = NULL, rotation = NULL, ...)
x |
a vector. The object is coerced to class |
y |
a vector with the same length as |
x0 |
a vector of origins (x axis). |
y0 |
a vector of origins (y axis). |
na.rm |
logical, indicating if |
shrink |
parameter that controls the size of the plotted circle. Default is 1. Larger values shrink the circle, while smaller values enlarge the circle. |
plot.info |
an object from |
zero |
the zero used in the plot. Ignored if |
rotation |
the rotation used in the plot. Ignored if |
... |
further parameters passed to |
The function call arrows
and it is not a method of arrows
.
Claudio Agostinelli
arrows
plot(rvonmises(10, circular(0), kappa=1))
arrows.circular(rvonmises(10, circular(0), kappa=1))
arrows.circular(rvonmises(10, circular(0), kappa=1), y=runif(10), col=2)
arrows.circular(rvonmises(10, circular(0), kappa=1), y=runif(10),
x0=runif(10, -1, 1), y0=runif(10, -1, 1), col=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.