addVeDayDate | R Documentation |
addVeDayDate
adds extended weekend shading and label for VE day 2020 where x axis is a date. Should work in any time-zoneaddVeDayDate
adds extended weekend shading and label for VE day 2020 where x axis is a date. Should work in any time-zone
addVeDayDate(p, yLoc, yMin, yMax, fill = "grey50", alpha = 0.5)
p |
the plot to add them to |
yLoc |
the reltative height of the label (so you can stagger them on a plot) |
yMin |
the smallest y value |
yMax |
the largest y value |
fill |
fill colour (grey50) |
alpha |
alpha value (0.5) |
Ben Anderson, b.anderson@soton.ac.uk (original)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.