regquant | R Documentation |
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)
f |
Vector of probabilities. |
rfd |
Object of class |
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.
J. R. M. Hosking jrmhosking@gmail.com
regfit
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.