addVeDayDateTime: 'addVeDayDateTime' adds extended weekend shading and label...

View source: R/addVeDayDateTime.R

addVeDayDateTimeR Documentation

addVeDayDateTime adds extended weekend shading and label for VE day 2020 where x axis is a dateTime. Should work in any time-zone.

Usage

addVeDayDateTime(p, yLoc, yMin, yMax, fill = "grey50", alpha = 0.3)

Arguments

p

the plot to add them to

yLoc

the relative location of the label (

\item

yMinthe smallest y value

\item

yMaxthe largest y value#'

\item

fillfill colour (grey50)

\item

alphaalpha value (0.3)

addVeDayDateTime adds extended weekend shading and label for VE day 2020 where x axis is a dateTime. Should work in any time-zone. Ben Anderson, b.anderson@soton.ac.uk (original)


CfSOtago/gridCarbon documentation built on April 5, 2022, 6:46 a.m.