Description Usage Arguments Details Value Examples
Calculates the first day in the year where the probability if frost is under a threshold.
1 2 |
mn |
vector of daily minimum temperature series. |
dates |
vector of dates corresponding with daily temprature series |
iniday |
first day of the year ("dd-mm") when frost occurrence will be considered. |
endday |
last day of the year ("dd-mm") when frost occurrence will be considered. |
type |
type of output. It can be "doy" for day of the year (julian day) or "date" for data format ("dd-mm"). |
thres |
temperature threshold considered to trigger frost occurrence (0 by default). |
prob |
numeric. Threshold indicating the probability (0.10 by default) |
The function is able to span over years. If the argument "enddate" is a date earlier than "inidate", the considered period will cover from "inidate" to the end of the year and from the beginning of the next year to "enddate".#' @return depending on argument type, the output will be a numeric vector of julian days (type = "doy") or a vector of characters with dates (type = "date").
A numeric vector with the annual number of frost probability is returned.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.