tempResponse_daily: Summarize chill responses from daily chill models

tempResponse_dailyR Documentation

Summarize chill responses from daily chill models

Description

This function produces a summarized dataframe of chill responses computed by several chill models which estimate daily chill instead of the metric for each hour. Five models are predetermined, but this function also allows to include models predefined by the user. The only request is that such model function must uses daily mean, max or min temperatures as input.

Usage

tempResponse_daily(
  data,
  Start_JDay = 1,
  End_JDay = 366,
  models = list(Rate_of_Chill = rate_of_chill, Chill_Days = chill_days, Exponential_Chill
    = exponential_chill, Triangula_Chill_Haninnen = triangular_chill_1,
    Triangular_Chill_Legave = triangular_chill_2),
  misstolerance = 20
)

Arguments

data

can be a list of two or more elements. This list should contain a dataframe that might be called "weather" if this is obtained from the chillR::fix_weather function. A second option is just a dataframe. In any case, the dataframe either contained in the list or introduced directly as dataframe, must contain the columns "Year", "Month", "Day", "JDay", "Tmin" and "Tmax"

Start_JDay

is the start date for computing the outputs. This is the number of the day within the year (DOY) or Julian day

End_JDay

is the end date for computing the outputs. This is the number of the day within the year (DOY) or Julian day

models

is list of chill functions to compute the metric for the period of interest. Each model should be named. Default provides five models (see details)

misstolerance

is the threshold defined by the user to include seasons having days with missing data. Default is set to 20

Details

tempResponse_daily is an extension of chillR that returns temperature responses by using daily chill models. These models are rate_of_chill, chill_days, exponential_chill, triangular_chill_1, triangular_chill_2.

Examples

library(chillR)

tempResponse_daily(KA_weather, Start_JDay = 335, End_JDay = 58)


EduardoFernandezC/dormancyR documentation built on Aug. 24, 2022, 7:21 a.m.