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 ``` And this is the result: Well, _knitr_ is really made to include R code ```r summary(cars) ``` ``` ## speed dist ## Min. : 4.0 Min. : 2 ## 1st Qu.:12.0 1st Qu.: 26 ## Median :15.0 Median : 36 ## Mean :15.4 Mean : 43 ## 3rd Qu.:19.0 3rd Qu.: 56 ## Max. :25.0 Max. :120 ``` ```r plot(cars, col = "blue") ``` ![plot of chunk unnamed-chunk-2](figure/unnamed-chunk-2.png) and some math. \[ f_Z(z) = \frac{1}{\sqrt{2 \pi}} \exp \left( - \frac{z^2}{2} \right) \] More [here](http://yihui.name/knitr/)!