powered by
Estimate the mean temperature during the day (between sunrise and sunset) from daily minimum and maximum temperature.
The function requires the day of the year and latitude to compute the photoperiod.
dayTemp(tmin, tmax, doy, latitude)
numeric
numeric. minimum temperature (any unit)
numeric. maximum temperature (any unit)
integer. Day of the year (between 1 and 365)
numeric. Latitude
dayTemp(c(20,22), c(28,34), c(150,151), 52)
Run the code above in your browser using DataLab