: gpinv (x, shape, scale, location)

For each element of x, compute the quantile (the inverse of the CDF) at x of the generalized Pareto distribution with parameters location, scale, and shape.

Package: statistics