arrows.circular: Add Arrows to a Circular Plot

View source: R/arrows.circular.R

arrows.circularR Documentation

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.

...

further parameters passed to arrows.

Note

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

Author(s)

Claudio Agostinelli

See Also

arrows

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 documentation built on Sept. 8, 2023, 6:03 p.m.