arrows.circular: Add Arrows to a Circular Plot

Description Usage Arguments Note Author(s) See Also Examples

Description

Draw arrows in a circular plot.

Usage

1
2
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

arrows

Examples

1
2
3
4
5
  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)

Example output

Attaching package: 'circular'

The following objects are masked from 'package:stats':

    sd, var

circular documentation built on May 2, 2019, 4:42 p.m.