View source: R/addShadedNight.R
addShadedNight | R Documentation |
Draw shading rectangles on a plot to indicate nighttime hours.
The monitor_timeseriesPlot function uses this function internally when
specifying shadedNight = TRUE
.
addShadedNight(timeInfo, col = adjustcolor("black", 0.1))
timeInfo |
dataframe as returned by |
col |
Color used to shade nights. |
No return value, called to add day/night shading to a timeseries plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.