powered by
empdis is a function that calculates the empirical distribution function for a given dataset.
empdis
empdis(x, nyr)
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
A numeric vector representing the dataset.
An integer representing the number of years in the dataset.
x <- c(1, 2, 3, 4, 5) nyr <- 5 empdis(x, nyr)
Run the code above in your browser using DataLab