Skip to contents

Calculates the Temperature index for day i and hour j. Temperature index is used to calculate the Daily Infection Values (DIV) for the model published by Schoeny et. al (2007).

Usage

DIV_Tm_index(temp, rainfall = 0.2)

Arguments

temp

daily average temperature in degrees Celsius

rainfall

rainfall in mm

Value

Temperature index value (numeric), used in calculating DIV

Details

Formula adapted from Schoeny. et al. (2007) in European Journal of Plant Pathology.

Examples

DIV_Tm_index(25)
#> [1] 0.7434944