empdis {RtsEva} | R Documentation |
empdis
is a function that calculates the empirical
distribution function for a given dataset.
empdis(x, nyr)
x |
A numeric vector representing the dataset. |
nyr |
An integer representing the number of years in the dataset. |
A data frame containing:
emp.RP
empirical return period
haz.RP
Hazen return period
cun.RP
Cunnane return period
gumbel
Gumbel values
emp.f
empirical cumulative density
emp.hazen
Hazen cumulative density
emp.cunnan
Cunnane cumulative density
Q
original data
timestamp
time component
x <- c(1, 2, 3, 4, 5)
nyr <- 5
empdis(x, nyr)