Description Usage Arguments Examples
View source: R/calendarHeatmap.R
Create a plot mimicing a calendar with a heatmap of values
1 | plotCalendarHeatmap(dates, values)
|
dates |
a vector of date objects |
values |
a numeric vector with same length as dates |
1 2 | dates = timeSequence(from = '2012-01-01', to = '2012-12-31', by = 'day')
plotCalendarHeatmap(as.Date(dates), 1:366)
|
Loading required package: lubridate
Attaching package: 'lubridate'
The following object is masked from 'package:base':
date
Loading required package: timeDate
Loading required package: Matrix
Loading required package: ggplot2
Loading required package: plyr
Attaching package: 'plyr'
The following object is masked from 'package:lubridate':
here
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.