Description Usage Arguments Author(s) See Also
View source: R/compareYearsPlot.R
compareYearsPlot
makes a geom_line() plot using 'colVar' to
colour the lines. It assumes the x axis is a date.
1 | compareYearsPlot(dt, xVar, yVar, colVar)
|
dt |
the data to plot |
xVar |
the variable to use for the x axis |
yVar |
the variable to use for the y axis |
colVar |
the variable to use to colour the tile fill |
Ben Anderson, b.anderson@soton.ac.uk (original)
Other plots:
addLockdownRectDateTime()
,
addLockdownRectDate()
,
addWeekendsDateTime()
,
addWeekendsDate()
,
compareYearsDiffPlotDaily()
,
compareYearsDiffPlotWeekly()
,
makeDotPlot()
,
makeTilePlot()
,
profileTilePlot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.