if (!is.null(knitr::opts_knit$get("solutions"))) { if (knitr::opts_knit$get("solutions")=="no") { knitr::opts_chunk$set(echo = FALSE, eval = FALSE, comment = NA, paged.print=FALSE) } else { knitr::opts_chunk$set(echo = TRUE, eval = TRUE, comment = NA, paged.print=FALSE) } } else { knitr::opts_chunk$set(echo = TRUE, eval = TRUE, comment = NA, paged.print=FALSE) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.