heat_restriction.Rd
Quantifies the chill accumulation by Utah Model and North Carolina Model.
heat_restriction(x, model, nh, total = TRUE)
x | Vector containing temperature values (Celsius-degree). |
---|---|
model | Model to be used for calculation. Use "utah" for Utah Model and "nc" for North Carolina Model. |
nh | Number of hours of continuous heat. |
total | TRUE Shows the total value of accumulation, FALSE shows the value of chill-unit for each temperature (TRUE is default). |
The function returns values the chill-units for each temperature of vector (Total = FALSE), or returns the chill-units accumulation (Total = TRUE).
The model is based on chill-units (Utah Model or North Carolina Model). After a certain number of hours of heat, the counting the negative units is interrupted. Negativation of the cold by the heat is restricted to a few days, 24h for Raseira (1982), 96h for Ebert (1986), 30 hours for Fishmann (1987) and 36 hours for Anzanello (2012).
x <- rnorm(500, 15, 5) #5 hours of heat to stop counting the negative units. heat_restriction(x, model = "nc",nh = 5)#> [1] -1.164095#24 hours of heat to stop counting the negative units. heat_restriction(x, model = "nc", nh = 24)#> [1] -17.89886