knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of conethemes is to ...
You can install the released version of conethemes from CRAN with:
# NOT YET install.packages("conethemes")
Or the development version at :
remotes::install_github("medewitt/conethemes")
This package borrows heavily from that of the Urban Institute
library(ggplot2) library(conethemes)
library(dplyr) theme_set(theme_bw()) set_cone_defaults(style = "print") ggplot(data = mtcars, mapping = aes(factor(cyl))) + geom_bar() + scale_y_continuous(expand = expand_scale(mult = c(0, 0.1))) + labs(x = "Number of Cylinders", y = "Count") + remove_ticks()
my_plot <- ggplot(data = mtcars, mapping = aes(factor(cyl))) + geom_bar() + scale_y_continuous(expand = expand_scale(mult = c(0, 0.1))) + labs(x = "Number of Cylinders", y = "Count") + remove_ticks() my_plot %>% add_text_logo()
my_plot %>% add_pic_logo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.