GetDH: Occurrence of compound dry-hot events

Description Usage Arguments Value References Examples

View source: R/GetDH.R

Description

Take the precipitation and temperature and extract the occurrence based on thresholds. The binary variable of the dry-hot (or dry-warm) can be obtained.

Usage

1
GetDH(mp,mt,threp,thret)

Arguments

mp

Precipitation

mt

Temperature

threp

Threshold of precipitation (e.g., 20th percentile)

thret

Threshold of temperature (e.g., 80th percentile)

Value

The occurrence of compound dry-hot event (0-1 binary variable)

References

Hao, Z. et al. (2018). A multivariate approach for statistical assessments of compound extremes. J. Hydrol., 565: 87-94.

Hao, Z. et al. (2019). A monitoring and prediction system for compound dry and hot events. Environ. Res. Lett., 14 114034.

Examples

1
2
3
4
5
mp=matrix(rnorm(120,0,1),ncol=1)
mt=matrix(rnorm(120,0,1),ncol=1)
threp=20
thret=80
DH<-GetDH(mp,mt,threp,thret)

CompoundEvents documentation built on Dec. 1, 2019, 3 p.m.