dtr {ClimInd}R Documentation

Diurnal temperature range

Description

Mean difference between TX and TN.

Usage

dtr(tmax, tmin, data_names = NULL, time.scale = YEAR, na.rm = FALSE)

Arguments

tmax

daily maximum temperature, Celsius

tmin

daily minimum temperature, Celsius

data_names

names of each period of time

time.scale

month, season or year

na.rm

logical. Should missing values (including NaN) be removed?

Value

temperature, Celsius

Formula

DTR_j = \frac{ \sum_{ i = 1 } ^ { I } ( TX_{ ij } - TN_{ ij })} {I}

References

Klein Tank AMG, Zwiers FW, Zhang X. 2009. Guidelines on analysis of extremes in a changing climate in support of informed decisions for adaptation, climate data and monitoring WCDMP-No 72, WMO-TD No 1500, p 5. https://www.ecad.eu/documents/WCDMP_72_TD_1500_en_1.pdf

Examples

data(data_all)
dtr(tmax=data_all$tx, tmin=data_all$tn)

[Package ClimInd version 0.1-3 Index]