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

plotedf

Plot Empirical Distribution Function


Description

Plots the empirical distribution function of a data set.

Usage

plotedf(x, ...)

Arguments

x

vector of circular data measured in radians.

...

optional graphical parameters. See help section on par.

Details

The vector data is taken modulo 2*pi, and then the linear ranks are used to generate an empirical distribution function.

Note

Creates a plot of the empirical distribution function of the vector data.

See Also

Examples

# 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)

CircStats

Circular Statistics, from "Topics in Circular Statistics" (2001)

v0.2-6
GPL-2
Authors
S-plus original by Ulric Lund <ulund@calpoly.edu>, R port by Claudio Agostinelli <claudio.agostinelli@unitn.it>
Initial release
2018-06-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.