diff --git a/08_PracticalMachineLearning/027forecasting/index.Rmd b/08_PracticalMachineLearning/027forecasting/index.Rmd index b8f37db94..71e55e96c 100644 --- a/08_PracticalMachineLearning/027forecasting/index.Rmd +++ b/08_PracticalMachineLearning/027forecasting/index.Rmd @@ -88,6 +88,7 @@ knit_hooks$set(plot = knitr:::hook_plot_html) ```{r loadGOOG} library(quantmod) +library(forecast) from.dat <- as.Date("01/01/08", format="%m/%d/%y") to.dat <- as.Date("12/31/13", format="%m/%d/%y") getSymbols("GOOG", src="google", from = from.dat, to = to.dat)