Plot Empirical Distribution Function
Plots the empirical distribution function of a data set.
plotedf(x, ...)
x |
vector of circular data measured in radians. |
... |
optional graphical parameters. See help section on par. |
The vector data is taken modulo 2*pi, and then the linear ranks are used to generate an empirical distribution function.
Creates a plot of the empirical distribution function of the vector data.
# Compare the edf's of two simulated sets of data. data1 <- rvm(10, 0, 3) data2 <- rvm(10, 0, 1) plotedf(data1, xlab="Data", ylab="EDF", main="Plots of Two EDF's") par(new=TRUE) plotedf(data2, axes=FALSE, xlab="", ylab="", lty=2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.