Skip to contents

f(t) = 1/(2 pi), 0 <= t < 2 pi. Density, distribution function, quantile and draws by inversion of the morie Philox uniforms (identical in the Python arm).

Usage

CircUnif(x = NULL, p = NULL, n = 0, seed = 0)

Arguments

x

Evaluation points.

p

Probabilities for the quantile function.

n

Number of random draws.

seed

Philox seed.

Value

list(pdf, logpdf, cdf, quantile, random).

References

Mardia, K. V. & Jupp, P. E. (2000). Directional Statistics. Wiley, Sec 3.5.3.

Examples

CircUnif(0.5)$cdf
#> [1] 0.07957747