powered by
The function rgpd generates Generalized Pareto Random Variables.
rgpd(n, xi, mu = 0, sigma = 1)
integer, number of simulations.
double, the shape.
double, the location.
double, the scale.
A vector of i.i.d. Generalized Pareto random variables.
http://pgm-solutions.com/packages
# NOT RUN { x <- rgpd(5, 1) # }
Run the code above in your browser using DataLab