Learn R Programming

ClimInd (version 0.1-2)

gsl: Growing season length

Description

Annual count of days between the first span of at least 6 days with TG > 5 Celsius and first span after 1 July of 6 days with TG < 5 Celsius.

Usage

gsl(data, data_names = NULL, na.rm = FALSE, ...)

Arguments

data

mean temperature

data_names

names of each period of time

na.rm

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

...

...

Value

growing season length

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.

Examples

Run this code
# NOT RUN {
data(data_all)
gsl(data=data_all$tg)
# }

Run the code above in your browser using DataLab