Length of civil twilight

day_civil_twilight_length(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) day civil twilight length

Examples

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