plotCalendarHeatmap: Calendar Heatmap

Description Usage Arguments Examples

View source: R/calendarHeatmap.R

Description

Create a plot mimicing a calendar with a heatmap of values

Usage

1
  plotCalendarHeatmap(dates, values)

Arguments

dates

a vector of date objects

values

a numeric vector with same length as dates

Examples

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

Example output

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

TimeProjection documentation built on May 2, 2019, 7:30 a.m.