knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) options(warn=-1)
The purpose is personal usage. Built from Ricardo Bion's code for ggtech package and inspiration from hrbrmstr/hrbthemes and gadenbuie/xaringanthemer.
Development version from GitHub with:
# install.packages("devtools") devtools::install_github("JohanSalomonssonSV/JSthemes")
This is a basic example which shows you how to solve a common problem:
library(tidyverse) library(JSthemes)
cars %>% ggplot(aes(speed, dist)) + geom_point() +theme_JS_fancy()+ labs(title="Simple example")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.