Quantiles and quantile function of a regional frequency distribution
Quantiles and quantile function of a regional frequency distribution
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.
regquant(f, rfd)regqfunc(rfd)
Arguments
f: Vector of probabilities.
rfd: Object of class rfd, containing the specification of a regional frequency distribution.
Returns
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.
rfit <- regfit(Cascades,"gno")# Fit regional distribution# Compute some quantilesregquant(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 curvergc(seq(0.1,0.9, by=0.1))# Plot the regional growth curvecurve(rgc,0.01,0.99)