############################################################
# #
# Set Options #
# #
############################################################
knitr::opts_chunk$set(
collapse = TRUE,
dev.args = list(bg = 'transparent'),
warning = FALSE,
message = FALSE,
error = FALSE,
echo = FALSE,
dev = "svg",
fig.retina = 2,
fig.height = 4, out.width="100%",
fig.align = "center",
fig.pos ="H",
comment = "",
highlight = TRUE,
screenshot.opts <- list(delay = 1),
fig.path = "figures/"
)
options(scipen = 999)
options(knitr.kable.NA = '')
options(htmltools.dir.version = FALSE)
##%######################################################%##
# #
#### load library ####
# #
##%######################################################%##
library(MPIThemes)
library(ggplot2)
library(dplyr)
library(grid)
library(gt)
library(kableExtra)
library(reticulate)
############################################################
# #
# Set Color and Theme #
# #
############################################################
set_color_theme(12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.