plot.edf {CircStats}R Documentation

Plot Empirical Distribution Function

Description

Plots the empirical distribution function of a data set.

Usage

## S3 method for class 'edf':
plot(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)
plot.edf(data1, xlab="Data", ylab="EDF", main="Plots of Two EDF's")
par(new=TRUE)
plot.edf(data2, axes=FALSE, xlab="", ylab="", lty=2)

[Package CircStats version 0.2-4 Index]