Learn R Programming

ClimInd (version 0.1-2)

etr: Extreme temperature range

Description

Difference between the maximum TX and the minimum TN.

Usage

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

Arguments

tmax

maximum temperature

tmin

minimum temperature

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

extreme temperature range

Examples

Run this code
# NOT RUN {
data(data_all)
etr(tmax=data_all$tx, tmin=data_all$tn)
# }

Run the code above in your browser using DataLab