Astronomical twilight

astronomical_twilight(date, lon, lat)

Arguments

date

The date to compute the length for. An R DateTimeClasses object or something that can be coerced into one by as.POSIXlt().

lon, lat

longitude & latitude

Value

(dbl) astronomical twilight

Examples

# NOT RUN {
astronomical_twilight("2019-12-31", -70.8636, 43.2683)
# }