Fig. 4From: Tools and techniques for computational reproducibilityExample of a document created using knitr. This example contains code (in the R language) for generating random numbers and plotting them on a graph. The knitr tool was used to generate the document, which combines the code and the output object (figure). See Additional file 4 for an executable version of this documentBack to article page