View source: R/createRecentHalfHourlyProfilePlot.R
createRecentHalfHourlyProfilePlot | R Documentation |
'createRecentHalfHourlyProfilePlot' returns a plot which plots yVar by time of day for each day. Assumes rDateTimeUTC exists.
createRecentHalfHourlyProfilePlot( dt, dateTime = "rDateTimeUTC", yVar, yCap, yDiv = 1, start = as.Date("2020-01-01"), end = lubridate::today() )
dt |
the data |
yVar |
the variable you want to plot |
yCap |
the caption for the y axis |
yDiv |
the value you want to divide yVar by to make the y axis more sensible. Default = '1' |
start |
start date of plot |
end |
end date of plot |
dateTimeVar |
the dateTime variable to use (allows for aligned dateTimes etc). Default = 'rDateTimeUTC' |
Ben Anderson, b.anderson@soton.ac.uk
Other plot:
addLockdownRect()
,
createDailyMeanComparePlot()
,
createDailyPcComparePlot()
,
createRecentDateTimePlot()
,
makeWeekdayPlot()
,
makeWeekdayTimePlot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.