powered by
Simulates a sample of size m from a generalized Pareto distribution.
m
rgpd(m = 1, sigma = 1, xi = 0)
A numeric vector. A generalized Pareto sample of size m.
A numeric scalar. The size of sample required.
A numeric scalar. The generalized Pareto scale parameter.
A numeric scalar. The generalized Pareto shape parameter.
# \donttest{ # Sample data from a GP(sigma, xi) distribution gpd_data <- rgpd(m = 100, xi = 0, sigma = 1) # }
Run the code above in your browser using DataLab