R package providing R Markdown templates for SDS
# install.packages("remotes")
remotes::install_github("SmithCollege-SDS/sds")
library(sds)
library(ggplot2)
ggplot(mpg, aes(y = hwy, x = reorder(model, hwy), fill = hwy)) +
geom_col(position = "dodge") +
coord_flip() +
facet_wrap(~year) +
scale_fill_smith_cd(midpoint = 20)
You can write the logo to a file:
hex_logo(file = "man/figures/logo.png")
Or include it directly in a Markdown document:
img_logo(width = 64)
Select File -> New File -> R Markdown… and choose the Smith SDS Letter template
Select File -> New File -> R Markdown… and choose the Smith xaringan template
Post any bugs to Issues!