Skip to content

Instantly share code, notes, and snippets.

View tatianass's full-sized avatar

Tatiana tatianass

View GitHub Profile
#first attempt at implementing horizon plots in ggplot2
#pleased with result but code sloppy and inflexible
#as always very open to improvements and forks
if(!require(reshape2)){
install.packages("reshape2")
}
if(!require(quantmod)){
install.packages("quantmod")
}
if(!require(PerformanceAnalytics)){