powered by
Plots the empirical distribution of a data set against a uniform circular distribution function.
pp.unif.plot(x, ref.line = TRUE, frac = NULL, xlab = "Uniform Distribution", ylab = "Empirical Distribution", col = NULL, col.inf = NULL, col.sup = NULL, ...)
a vector. The object is coerced to class circular.
circular
logical, if TRUE a 45 degree reference line is added to the plot. Default is TRUE.
a number in the [0,1] interval or NULL.
NULL
labels of the axis.
color of the points.
color of the fraction of the points replicated in the left bottom and right upper corner of the plot.
frac
parameters passed to the plot.default function.
plot.default
Claudio Agostinelli
pp.plot for the von Mises distribution.
x <- rvonmises(n=25, mu=circular(0), kappa=3) pp.unif.plot(x) pp.unif.plot(x, frac=0.2)
Run the code above in your browser using DataLab