Description Usage Arguments Details Value Author(s)
Simulate phenology event
1 |
start |
a integer vector of start indices. The start index must coincide with the Tmin and Tmax values. For example, if Tmin and Tmax are provided for then entire year and the desired start date is Apr 3rd, the day of year should be provided (94).However, if the first temperature values are for Apr 1st, the desired start index would be 3. |
tmin |
Minimum daily temperature |
tmax |
Maximum daily temperature |
target_hu |
The target heat units (i.e., the accumulated heat units after which the event occurs). |
meas_error |
logical, should measurement error (+/- 2 days) be added to the results? (Note: for reproducibility, the set.seed should be used if adding this to simulations.) |
... |
Additional arguments passed to heat_units() |
This function simulates a phenology event given Tmin and Tmax values, a start (in index value of Tmin/Tmax) and a target heat unit. The event is considered to occur when the heat units exceed the target.
a vector of event indexes, corresponding to the indices for the temperature data.
Matt Espe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.