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

pp.unif.plot

Uniform Circular Probability-Probability Plot


Description

Plots the empirical distribution of a data set against a uniform circular distribution function.

Usage

pp.unif.plot(x, ref.line = TRUE, frac = NULL,  xlab = "Uniform Distribution", 
  ylab = "Empirical Distribution", col = NULL,
  col.inf = NULL, col.sup = NULL, ...)

Arguments

x

a vector. The object is coerced to class circular.

ref.line

logical, if TRUE a 45 degree reference line is added to the plot. Default is TRUE.

frac

a number in the [0,1] interval or NULL.

xlab, ylab

labels of the axis.

col

color of the points.

col.inf, col.sup

color of the fraction of the points replicated in the left bottom and right upper corner of the plot.

...

parameters passed to the plot.default function.

Author(s)

Claudio Agostinelli

See Also

pp.plot for the von Mises distribution.

Examples

x <- rvonmises(n=25, mu=circular(0), kappa=3)
pp.unif.plot(x)
pp.unif.plot(x, frac=0.2)

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.