View source: R/addShadedNight.R
addShadedNight | R Documentation |
Draw shading rectangles on a plot to indicate nighttime hours.
addShadedNight(timeInfo, col = adjustcolor("black", 0.1))
timeInfo |
dataframe with local time, sunrise, and sunset |
col |
color used to shade nights – defaults to |
timeInfo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.