A tutorial on how to write reproducible scientific reports in Markdown using knitr and pandoc.