| empdis {RtsEva} | R Documentation |
empdis: Empirical Distribution Function
Description
empdis is a function that calculates the empirical
distribution function for a given dataset.
Usage
empdis(x, nyr)
Arguments
x |
A numeric vector representing the dataset. |
nyr |
An integer representing the number of years in the dataset. |
Value
A data frame containing:
emp.RPempirical return period
haz.RPHazen return period
cun.RPCunnane return period
gumbelGumbel values
emp.fempirical cumulative density
emp.hazenHazen cumulative density
emp.cunnanCunnane cumulative density
Qoriginal data
timestamptime component
Examples
x <- c(1, 2, 3, 4, 5)
nyr <- 5
empdis(x, nyr)
[Package RtsEva version 1.0.0 Index]