Packages required in this lecture

install.packages(c("rmarkdown", "forecast"))

Why R markdown?

Header 1

Header 2

Creation of lists

unordered

  • Item 1
  • Item 2

ordered

  1. Item 1
  2. Item 2
    • item 2a
    • item 2b

Inline codes

Write inline R code using backtick quotes: forecast()

Blockqotes

It’s always better to give than to receive.

Equations

R code chunks with plot

See Hyndman and Athanasopoulos (2014).