DCP_getZT | R Documentation |
Calculate Zeitgeber Time based on clock time based on local sunrise time.
DCP_getZT(t, lat, long, ZT.min = -6)
t |
Recorded time in POSIXlt format. Please make sure that the input time has the correct time zone. |
lat |
Local latitude corresponding to the recorded time. |
long |
Local longitude corresponding to the recorded time. |
ZT.min |
The mininum of output ZT. The default is -6, which corresponds to output range of (-6, 18). |
Zeitgeiber time corrected by local sunrise
t = as.POSIXlt("2022-09-17 13:43:00 EST", tz="America/New_York",usetz=TRUE) lat = 40.4406; long = -79.9959 #This is the Pittsburgh coordinates t.correct = DCP_getZT(t, lat, long, ZT.min = -6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.