| dayPhase | R Documentation |
Given a start time and (optionally) a duration returns the phase of day at a given location. This is primarily used to calculate phase of day information for soundscape recording projects.
dayPhase( time = Sys.time(), duration = 2e+05, lat = 50.1, lon = 1.83, tz = "UTC" )
time |
A time object representing the start time of a recording |
duration |
Duration of recording |
lat |
Latitude of recording device |
lon |
Longitude of recording device |
tz |
Time-zone of recording device when recording was made |
Data frame of day phases with absolute timestamps and relative times within file
dayPhase <- function(time=Sys.time(), duration=200000, lat=50.1, lon=1.83, tz="UTC")