empdisl {RtsEva} | R Documentation |
This function calculates the empirical distribution function for a given dataset, with a focus on low values
empdisl(x, nyr)
x |
A numeric vector or matrix representing the discharge values. |
nyr |
An integer representing the number of years. |
A data frame containing the following columns:
emp.RP
Empirical return period
haz.RP
Hazen return period
gumbel
Gumbel frequency
emp.f
Empirical frequency
emp.hazen
Empirical Hazen frequency
Q
Discharge values
x <- c(10, 20, 30, 40, 50)
nyr <- 5
empdisl(x, nyr)