View source: R/plotHeatmapMedianWeeks.R
plotHeatmapMedianWeeks | R Documentation |
Plot Heatmap of Median Energy Consumption by Hour, Weekdays and Seasons of Year
plotHeatmapMedianWeeks(
data,
locTimeZone = "UTC",
main = "Heatmap Median per hour by Weekday and Season",
ylab = "Energy Consumption (kWh/h)"
)
data |
Dataset to use for plot, minimum 1 hour aggregated. Must be a data.frame with "timestamp YmdHMS, energy consumption" |
locTimeZone |
Time zone of timestamp, default "UTC" |
main |
Main title of plot, default "Heatmap Median per hour by Weekday and Season" |
ylab |
y-axis title, default "Energy Consumption (kWh/month)" |
Returns a ggplot object
data <- readRDS(system.file("sampleData/eboBookEleMeter.rds", package = "redutils"))
plotHeatmapMedianWeeks(data, locTimeZone = "Europe/Zurich")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.