# Set the decimal figures knitr::opts_chunk$set(echo = TRUE) options(scipen = 1, digits = 3)
# Install xfun so that I can use xfun::pkg_load2 if (!requireNamespace('xfun')) install.packages('xfun') xf <- loadNamespace('xfun') cran_packages = c( ) if (length(cran_packages) != 0) xf$pkg_load2(cran_packages) import::from(magrittr, '%>%') gg <- import::from(ggplot2, .all=TRUE, .into={new.env()}) dp <- import::from(dplyr, .all=TRUE, .into={new.env()})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.