pp.unif.plot: Uniform Circular Probability-Probability Plot

View source: R/pp.unif.plot.R

pp.unif.plotR Documentation

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 documentation built on Sept. 11, 2024, 8:21 p.m.