Video in report
========================================================

This is just an example of how to include youtube videos on an html report.

Basically you use **knitr** through [Rstudio](http://www.rstudio.com/). Then you add the video using _iframe_ html tag directly:

```{r, eval=FALSE}
<iframe width="560" height="315" src="http://www.youtube.com/embed/9bZkp7q19f0?rel=0" frameborder="0" allowfullscreen></iframe>
```

And this is the result:

<iframe width="560" height="315" src="http://www.youtube.com/embed/9bZkp7q19f0?rel=0" frameborder="0" allowfullscreen></iframe>

Well, _knitr_ is really made to include R code

```{r fig.width=7, fig.height=6}
summary(cars)
plot(cars, col = "blue")
```

and some math.

\[ f_Z(z) = \frac{1}{\sqrt{2 \pi}} \exp \left( - \frac{z^2}{2} \right) \]

More [here](http://yihui.name/knitr/)!
