Skip to content

Instantly share code, notes, and snippets.

@MarkEdmondson1234
Created November 2, 2014 10:41
Show Gist options
  • Select an option

  • Save MarkEdmondson1234/948f36b62396f68bae12 to your computer and use it in GitHub Desktop.

Select an option

Save MarkEdmondson1234/948f36b62396f68bae12 to your computer and use it in GitHub Desktop.
Setup rga() and CausalImpact() packages
## Setup
## below only needed first time if you haven't the packages installed
# install.packages("devtools")
# library(devtools)
# devtools::install_github("google/CausalImpact")
## load the libraries
library(CausalImpact)
library(rga)
rga.open() ## stop here and put in the authentication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment