GetDC: Occurrence of compound dry-cold events

View source: R/GetDC.R

GetDCR Documentation

Occurrence of compound dry-cold events

Description

Extract compound dry-cold occurrences based on thresholds of precipitation and temperature. The binary variable of the dry and cold (DC) event can be obtained.

Usage

GetDC(mp,mt,threp,thret)

Arguments

mp

Precipitation

mt

Temperature

threp

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

thret

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

Value

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

References

Hao, Z. et al (2013). Changes in concurrent monthly precipitation and temperature extremes. Environ. Res. Lett., 8(3): 034014.

Examples

mp=matrix(rnorm(120,0,1),ncol=1)
mt=matrix(rnorm(120,0,1),ncol=1)
threp=20
thret=20
DC<-GetDC(mp,mt,threp,thret)

CompoundEvents documentation built on Nov. 10, 2022, 5:45 p.m.