If the output path is defined, a pdf file is created.
Arguments
mn
vector containing the daily minimum temperature series.
dates
sequence of daily dates coinciding with temperature data series.
thres
temperature threshold considered to trigger frost occurrence (0 by default).
out
system path to the generated output file ('.pdf').
iniday
first day of the year ("dd-mm") to consider for first and last occurrence of frost.
endday
last day of the year ("dd-mm") to consider for first and last occurrence of frost.
Details
Despite the logical threshold of temperature is 0 ºC to determine frost occurrence, the argument "thres" is open to change in case of different units of temperature.