Arguments
- datetimes
A
POSIXctorPOSIXltvector in solar time. SeeDateTimeClasses().- lat
A numeric scalar giving the site latitude. Use negative values south of the equator and positive values north of it.
Examples
if (FALSE) { # interactive()
# Warning: this function is deprecated.
calc_is_daytime(
datetimes = as.POSIXct(paste("2013-03-31", c("1:00", "11:00"))),
lat = 40.75
)
}