For description of calculations, see https://en.wikipedia.org/wiki/Equation_of_time#Calculating_the_equation_of_time

equation_of_time(doy)

Arguments

doy

Day of year

Value

`numeric(1)` length of the solar day, in hours.