rpgangular: A random number generator for the angular distribution

Description Usage Arguments Value Author(s) References Examples

View source: R/rpgangular.R

Description

The function simulates the univariate angular distribution corresponding to the p-generalized uniform distribution on the p-generalized unit circle.

Usage

1

Arguments

n

The natural number of random variables to be simulated.

p

A positive number expressing the form parameter of the distribution. The default is 2.

Value

An n-dimensional, real vector.

Author(s)

Steve Kalke

References

S. Kalke and W.-D. Richter (2013)."Simulation of the p-generalized Gaussian distribution." Journal of Statistical Computation and Simulation. Volume 83. Issue 4.

Examples

1
y<-rpgangular(10000,3)

pgnorm documentation built on May 1, 2019, 7:55 p.m.