Packages required in this lecture
install.packages(c("rmarkdown", "forecast"))
Why R markdown?
- Much easier syntax
syntax than LaTex or Html
- Dynamic: easy to update and work with the R codes
- Multiple output formats
- Makes presentation easy
- Keep me organized of weekly research progress reports
Inline codes
Write inline R code using backtick quotes: forecast()
Blockqotes
It’s always better to give than to receive.
Equations
- \(x + y = z\) for inline equations
- \[ x + y = z \]
R code chunks with plot
See Hyndman and Athanasopoulos (2014).
