---
title: "Template RMarkdown Document, with Equations"
output: 
  html_document:
    toc: false
    number_sections: false
    highlight: tango
    df_print: kable
---

This is a template.

Here is a *displayed* equation:
$$x_{t} = (a + b) x_{t-1} + a b x_{t-2}.$$

Here is an inline equation: $x_t=q a^t + r b^t$.

This one has a matrix in it:

$$A = \begin{pmatrix} 1 & 2 \\ a & b\end{pmatrix}$$

As always, you can include snippets of **R** code, including ones with figures.

```{r}
library(ggplot2)
a <- 0.6
b <- 0.5
t <- seq(0,20)
x <- a^t - b^t
qplot(x=t,y=x)
```


