% Using Pandoc and knitR to Write Reproducible Documents % Ramnath Vaidyanathan % 23-Mar-2012
ro tidy = F, fig.width = 4.5, fig.height = 4.5, dev = 'Cairo_png' or
options(width = 75)
read_chunk('ext-chunks.R')
# opts_knit$set(upload.fun = imgur_upload)
We first load required libraries
We create data
Fit a model and forecast
A function to plot the forecast object in ggplot2