Learn R Programming

ClimInd (version 0.1-2)

gd4: Growing degree days

Description

Sum of degree days of TG over 4 Celsius (the daily mean temperature is less than 4 celsius, it is set equal to 4 celsius)

Usage

gd4(data, data_names = NULL, time.scale = YEAR, na.rm = FALSE)

Arguments

data

medium 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

GD4

References

McMaster, G. S., & Wilhelm, W. W. (1997). Growing degree-days: One equation, two interpretations. Agricultural and Forest Meteorology, 87(4), 291-300

Examples

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

Run the code above in your browser using DataLab