vdtr {ClimInd}R Documentation

Mean daily difference DTR

Description

Mean absolute day-to-day difference in DTR

Usage

vdtr(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

vDTR_j = \frac{ \sum_{ i = 1 } ^ { I } \mid ( TX_{ ij } - TN_{ ij } ) - ( TX_{i-1,j} -TN_{ i - 1,j }) \mid } {I}

References

European Climate Assessment & Dataset. Indices dictionary. https://www.ecad.eu//indicesextremes/indicesdictionary.php

Examples

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

[Package ClimInd version 0.1-3 Index]