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.RP

Empirical return period

haz.RP

Hazen return period

gumbel

Gumbel frequency

emp.f

Empirical frequency

emp.hazen

Empirical Hazen frequency

Q

Discharge values

Examples

x <- c(10, 20, 30, 40, 50)
nyr <- 5
empdisl(x, nyr)


[Package RtsEva version 1.0.0 Index]