addVeDayDate: 'addVeDayDate' adds extended weekend shading and label for VE...

View source: R/addVeDayDate.R

addVeDayDateR Documentation

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

Description

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

Usage

addVeDayDate(p, yLoc, yMin, yMax, fill = "grey50", alpha = 0.5)

Arguments

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)

Author(s)

Ben Anderson, b.anderson@soton.ac.uk (original)


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