knitr::opts_chunk$set(
echo = FALSE,
collapse = TRUE,
comment = "#>",
fig.align = "center",
fig.retina = 2,
fig.width = 6,
fig.height = 4
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.