pp.plot: von Mises Probability-Probability Plot

Description Usage Arguments Details Value Note References See Also Examples

Description

Plots the empirical distribution of a data set against the best fitting von Mises distribution function.

Usage

1
pp.plot(x, ref.line=TRUE)

Arguments

x

vector of angular measurements in radians.

ref.line

logical flag: if TRUE a 45 degree reference line is added to the plot. Default is TRUE.

Details

The maximum likelihood estimates of the parameters of the von Mises distribution are computed from the given data set. The empirical distribution function is plotted against a von Mises distribution function with parameters given by the MLEs computed.

Value

NULL

Note

A plot is created on the current graphics device.

References

Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 10.2, World Scientific Press, Singapore.

See Also

vm.ml

Examples

1
2
3
4
data <- rvm(25, 0, 3)
pp.plot(data)
data <- c(rvm(20, 0, 7), rvm(20, pi, 7))
pp.plot(data)

Example output

Loading required package: MASS
Loading required package: boot
        mu    kappa
1 6.195791 4.094582
         mu      kappa
1 0.1844238 0.01397709

CircStats documentation built on May 2, 2019, 2:24 a.m.

Related to pp.plot in CircStats...