View source: R/calendarHeatmap.R
calendarHeatmap | R Documentation |
Creates a colour coded calendar visualising time series data
calendarHeatmap(
dates,
values,
title = "",
subtitle = "",
legendtitle = "",
ncol = 1
)
dates |
A vector containing the dates in |
values |
A vector containing the corresponding values as numeric. |
title |
Main plot title (optional). |
subtitle |
Main plot subtitle (optional). |
legendtitle |
Legend title (optional). |
ncol |
number of columns in the plot (optional); default: ncol = 1. |
Taken from https://quantixed.org/2022/12/26/twitcher-ii-tweet-frequency-and-top-tweets/#heatmap and https://www.r-bloggers.com/2023/01/running-around-2022-running-dataviz-in-r/
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.