Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

arrows.circular

Add Arrows to a Circular Plot


Description

Draw arrows in a circular plot.

Usage

arrows.circular(x, y = NULL, x0 = 0, y0 = 0, na.rm = FALSE, 
  shrink = 1, plot.info = NULL, zero = NULL, rotation = NULL, ...)

Arguments

x

a vector. The object is coerced to class circular.

y

a vector with the same length as x.

x0

a vector of origins (x axis).

y0

a vector of origins (y axis).

na.rm

logical, indicating if NA's should be omitted.

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 plot.circular that contains information on the zero, the rotation and next.points.

zero

the zero used in the plot. Ignored if plot.info is provided.

rotation

the rotation used in the plot. Ignored if plot.info is provided.

...

futher parameters passed to arrows.

Note

The function call arrows and it is not a method of arrows.

Author(s)

Claudio Agostinelli

See Also

Examples

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)

circular

Circular Statistics

v0.4-93
GPL-2
Authors
Ulric Lund <ulund@calpoly.edu> [aut], Claudio Agostinelli <claudio.agostinelli@unitn.it> [aut, cre], Hiroyoshi Arai <h_arai@aoni.waseda.jp> [ctb], Alessando Gagliardi <gagliardi@stud.unive.it> [ctb], Eduardo Garcia Portugues <edgarcia@est-econ.uc3m.es> [ctb], Dimitri Giunchi <dimitri.giunchi@unipi.it> [ctb], Jean-Olivier Irisson <irisson@normalesup.org> [ctb], Matthew Pocernich <pocernic@ucar.edu> [ctb], Federico Rotolo [ctb]
Initial release
2017-06-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.