circular.c.plot: Plot of circular data

Description Usage Arguments Details Examples

View source: R/Exploratory.R

Description

Produces a circular plot of a directional data set, with kernel density (black), ML von Mises (blue) and ML Jones-Pewsey (red) distributions overlaid. The legend is optional.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
circular.c.plot(
  data,
  bins = 90,
  BW = 15,
  l.pos,
  l.size = 1,
  p.sep = 0.05,
  p.shrink = 1.5,
  yl = c(-1.2, 0.8),
  xl = c(-1.1, 0.9)
)

Arguments

data

Vector of angles, in radians.

bins

Specify number of bars to display in histogram. Default is 90.

BW

Bandwidth to be used for the kernel density estiate. Default is 15.

l.pos

Position of legend. Leave blank to plot without a legend.

l.size

If legend is displayed, scale it by this factor. Default is 1.

p.sep

Separation of points in plot. Default is 0.05

p.shrink

Rescaling parameter of circular plot.

yl

ylim parameter to be passed to circular plot.

xl

xlim parameter to be passed to circular plot.

Details

See plot.circular for more on plotting parameters.

Examples

1

ClairBee/AS.circular documentation built on Jan. 24, 2020, 3:57 p.m.