Draw shading rectangles on a plot to indicate nighttime hours.

addShadedNight(timeInfo, col = adjustcolor("black", 0.1))

Arguments

timeInfo

dataframe with local time, sunrise, and sunset

col

color used to shade nights -- defaults to adjustcolor('black',0.2)

See also