Description Usage Arguments Details Value
Compute forcing units accumulated by a plant, according to a beta-shaped function.
1 2 3 4 5 6 7 8 | forcingUnits(
temp.data,
var.names = list(temp = "temp", date = "date", duration = "duration"),
temp.min = 5,
temp.max = 30,
a,
b
)
|
temp.data |
a data frame with the dates and temperatures to accumulate |
var.names |
the name of the temperature and date variables, in the format |
temp.min |
the threshold above which the plant is accumulating chilling units |
temp.max |
the threshold below which the plant is accumulating chilling units |
a |
the temperature at which the plant accumulates half the maximum of forcing units |
b |
the rate of forcing units accumulation |
The accumulation of forcing units is expressed through a logistic curve with parameters a
and b
:
fu(t) = \frac{1}{1 + \exp(-(t-a)/b)}
if temp.min ≤q t ≤q temp.max, and 0 otherwise, and where a is the temperature at which the plant accumulates half the maximum of forcing units and b is the rate of accumulation
a vector with the forcing units corresponding to each input temperature
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.