id="code-chunks" class="section level3 hasAnchor" number="8.4.3">
<h3><span class="header-section-number">8.4.3</span> Code chunks<a href="rmarkdown.html#code-chunks" class="anchor-section" aria-label="Anchor link to header"></a></h3>
<p>Under the YAML header, the template document contains what is called a code
chunk:</p>
<pre><code>```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```</code></pre>
<p>A code chunk is recognized by RMarkdown as containing code. Inside the curly
brackets, we spe