tell for each date, whether its daytime
computeIsDayByHour(date, sunriseHour = 7,
sunsetHour = 18, duskOffset = 0)
logical vector (length(date)): true if its daytime
POSIXct vector
sunrise as fractional hour (0..24) (vector of length date or length 1)
sunset as fractional hour (vector of length date or length 1)
integer scalar: time in hours after dusk for which records are still regarded as day
Thomas Wutzler