Calculates the total duration for which illuminance exceeds a given threshold, expressed in minutes.
Arguments
- trace
An object of class
luxR_trace(seelight_trace()).- threshold
Numeric scalar, illuminance threshold in lux. Default
1000, a common cutoff for outdoor/bright light exposure.- window
Optional length-2 POSIXct vector giving
c(start, end)to restrict the calculation to. DefaultNULL(use the whole trace).