regquant {lmomRFA} | R Documentation |
Quantiles and quantile function of a regional frequency distribution
Description
regquant
computes quantiles of a regional frequency distribution,
i.e., values of the regional growth curve.
regqfunc
returns a function that will compute the quantiles.
Usage
regquant(f, rfd)
regqfunc(rfd)
Arguments
f |
Vector of probabilities. |
rfd |
Object of class |
Value
regquant
returns a vector of quantiles.
regqfunc
returns the qfunc
element of rfd
.
This is a function that takes one argument,
which should be a vector of probabilities, and returns a vector of quantiles.
Author(s)
J. R. M. Hosking jrmhosking@gmail.com
See Also
Examples
rfit <- regfit(Cascades,"gno") # Fit regional distribution
# Compute some quantiles
regquant(seq(0.1, 0.9, by=0.1), regfit(Cascades,"gno"))
# Get the quantile function (regional growth curve)
rgc <- regqfunc(rfit)
# Compute quantiles by evaluating the regional growth curve
rgc(seq(0.1, 0.9, by=0.1))
# Plot the regional growth curve
curve(rgc, 0.01, 0.99)
[Package lmomRFA version 3.6 Index]