| empdisl {RtsEva} | R Documentation |
Empirical Distribution Function
Description
This function calculates the empirical distribution function for a given dataset, with a focus on low values
Usage
empdisl(x, nyr)
Arguments
x |
A numeric vector or matrix representing the discharge values. |
nyr |
An integer representing the number of years. |
Value
A data frame containing the following columns:
emp.RPEmpirical return period
haz.RPHazen return period
gumbelGumbel frequency
emp.fEmpirical frequency
emp.hazenEmpirical Hazen frequency
QDischarge values
Examples
x <- c(10, 20, 30, 40, 50)
nyr <- 5
empdisl(x, nyr)
[Package RtsEva version 1.0.0 Index]