knitr::opts_chunk$set(echo = TRUE)
The goal of rwththeme is to have a unified look and feel in ggplot2 plots.
You can install the released version of rwththeme github with
install.packages("devtools") devtools::install_github("sumidu/rwththeme")
Using the theme is as simple as attaching the package.
# Using ggplot2 as a plotting library library(ggplot2) library(rwththeme) ggplot(diamonds) + aes(carat,depth) + geom_point()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.