Learn R Programming

drought (version 1.2)

UniEmp: Compute the univariate empirical joint probability (EMP)

Description

Compute the univariate empirical joint probability (EMP)

Usage

UniEmp(X, dist = "Gringorten")

Value

The univariate EMP

Arguments

X

The vector of a monthly hydro-climatic variable of n years.

dist

is the function for the plotting position formula (Gringorten or Weibull).

Examples

Run this code
X=runif(20, min = 0, max = 100) # 20 monthly values of precipitation (e.g., August)
fit<-UniEmp(X,dist = "Gringorten") 

Run the code above in your browser using DataLab