calendarHeatmap: Calendar Heatmap

View source: R/calendarHeatmap.R

calendarHeatmapR Documentation

Calendar Heatmap

Description

Creates a colour coded calendar visualising time series data

Usage

calendarHeatmap(
  dates,
  values,
  title = "",
  subtitle = "",
  legendtitle = "",
  ncol = 1
)

Arguments

dates

A vector containing the dates in Date format.

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.

Details

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/

Value

ggplot object


ulf85/Workouts documentation built on Oct. 28, 2024, 11:03 p.m.