Allison Horst
</p>
</div>
<p>In a dynamic document, the code is executed within the document in real
time and it produces “living” figures, tables, models, etc. that are updated any
time the code itself or the underlying data is updated. We can combine text and
code to reproduce any graphical output we want to display in our finished
document without having to do anything manually, and the document gets
automatically updated any time there is a change upstream in the code or the
input data. Because of t