plotedf: Plot Empirical Distribution Function

View source: R/circular.R

plotedfR Documentation

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

par

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 documentation built on June 19, 2025, 5:07 p.m.

Related to plotedf in CircStats...