Learn R Programming

TimeProjection (version 0.2.0)

plotCalendarHeatmap: Calendar Heatmap

Description

Create a plot mimicing a calendar with a heatmap of values

Usage

plotCalendarHeatmap(dates, values)

Arguments

dates
a vector of date objects
values
a numeric vector with same length as dates

Examples

Run this code
dates = timeSequence(from = '2012-01-01', to = '2012-12-31', by = 'day')
   plotCalendarHeatmap(as.Date(dates), 1:366)

Run the code above in your browser using DataLab