## load required library pkg_list <- c("haven", "dplyr", "lubridate", "reshape2", "car", "Hmisc", "R306", "Lmisc", "ggplot2", "scales", "knitr") for (i in pkg_list) eval(parse(text = paste("library(", i, ")", sep = ""))) ## knitr options opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE, results = "asis", autodep = TRUE, fig.width = 21, fig.height = 7, dpi = 300, fig.caption = TRUE, fig.path = "Figure/", cache = TRUE, cache.path = "Cache/")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.