pp.unif.plot | R Documentation |
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, ...)
x |
a vector. The object is coerced to class |
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 |
xlab , ylab |
labels of the axis. |
col |
color of the points. |
col.inf , col.sup |
color of the |
... |
parameters passed to the |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.