View source: R/positive_utah_model.R
positive_utah_model | R Documentation |
Function to calculate winter chill for deciduos trees according to the Positive Utah model proposed by
Linsley-Noakes and Allan (1994). This function is compatible with some chillR
functions (i.e tempResponse
) to estimate metrics from hourly temperature records.
positive_utah_model(HourTemp, summ = TRUE)
HourTemp |
Vector of hourly temperatures |
summ |
Boolean parameter indicating whether the computed metric should be provided as cumulative values over the period or as the actual accumulation for each hour |
Linsley-Noakes G. and Allan P. 1994. Comparison of two models for the prediction of rest completion in peaches. Sci. Hortic. 59(2): 107-113. https://doi.org/10.1016/0304-4238(94)90077-9
#Example 1 library(chillR) data <- stack_hourly_temps(KA_weather, latitude = 50.62) positive_utah_model(data$hourtemps$Temp, summ = TRUE) #Example 2 tempResponse(data, Start_JDay = 345, End_JDay = 58, models = list(Positive_Units = positive_utah_model))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.