View source: R/addWeekendRectsDateTime.R
addWeekendRectsDateTime | R Documentation |
addWeekendRectsDateTime
adds rectangles around the weekends from March 2020 onwards
to plots where the x-axis is a dateTime.addWeekendRectsDateTime
adds rectangles around the weekends from March 2020 onwards
to plots where the x-axis is a dateTime.
addWeekendRectsDateTime( p, yMin, yMax, alpha = 0.5, fill = "grey50", labelPos = 0.95 )
p |
the plot to add them to |
yMin |
the smallest y value |
yMax |
the largest y value#' |
alpha |
alpha value (0.5) |
fill |
fill colour (grey50) |
labelPos |
relative position of label (0.9) |
Ben Anderson, b.anderson@soton.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.