ExtractFreq returns a dataframe with probabilities in the first column, and quantiles of data in the following columns.
Number of observations per variable in data are given in an attribute n.obs (see attributes).
Arguments
data
either a numeric vector or an all-numeric dataframe (NAs allowed) which holds the variables for which
quantiles are computed.
probs
numeric, vector of probabilities as in quantile with default suitable for flow duration curves.
Details
ExtractFreq is a convenience wrapper function, it uses quantile to calculate the quantiles
of one or more time series with a density appropriate for duration curves.
NAs are allowed in the input data. For the results to be meaningful, input should represent equally-spaced time series,
e.g. HYPE basin output files.