Skip to content

Instantly share code, notes, and snippets.

@mages
Last active August 29, 2015 13:57
Show Gist options
  • Save mages/9709148 to your computer and use it in GitHub Desktop.
Save mages/9709148 to your computer and use it in GitHub Desktop.
# See also the entry on stackoverflow: http://goo.gl/KUvmW2
library(lattice)
library(chron)
source("http://blog.revolutionanalytics.com/downloads/calendarHeat.R")
# Plot as calendar heatmap
calendarHeat(stock.data$Date, stock.data$Adj.Close,
varname="MSFT Adjusted Close")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment