Learn R Programming

ClimInd (version 0.1-3)

mai: De Martonne aridity index

Description

De Martonne aridity index is the ratio between the annual amount of precipitation and anual mean of temperature plus 10 Celsius.

Usage

mai(pr, taverage, data_names = NULL, na.rm = FALSE, ...)

Arguments

pr

daily precipitation, mm

taverage

daily mean temperature, Celsius

data_names

names of each period of time

na.rm

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

...

further arguments passed to or from other methods

Value

index value

Formula

$$MAI = \frac{P} {TG+10}$$ P = annual precipitation (mm); TG = mean annual air temperature (Celsius)

References

De Martonne E., 1926. Une nouvelle fonction climatologique: L<U+2019>indice d<U+2019>aridit<U+00E9>. La Meteorologie, 449-458.

Examples

Run this code
# NOT RUN {
data(data_all)
mai(pr = data_all$rr, taverage = data_all$tg)
# }

Run the code above in your browser using DataLab