a data.frame when a returnDailyPr=FALSE, otherwise a list with the following elements:
summary: FFD summary statistics as a data.frame
fm: frost matrix
Pr.frost: Pr(frost|day): daily probability of frost
Arguments
d
data.frame with columns 'datetime' 'year', and 'value'; 'value' being daily minimum temperature, see details
returnDailyPr
optionally return list with daily summaries
minDays
min number of days of non-NA data in spring | fall, required for a reasonable estimate of FFD
frostTemp
critical temperature that defines "frost" (same units as d$value)
endSpringDOY
day of year that marks end of "spring" (typically Jan 1 -- June 30)
startFallDOY
day of year that marks start of "fall" (typically Aug 1 -- Dec 31)
Author
D.E. Beaudette
Details
The default frostTemp=32 is suitable for use with minimum daily temperatures in degrees Fahrenheit. Use frostTemp = 0 for temperatures in degrees Celsius.