knitr::opts_knit$set(upload.fun = knitr::imgur_upload, base.url = NULL)
library("ggplot2")

Scatter plot

ggplot(mtcars, aes(cyl, hp)) + 
  geom_point() + 
  theme_grey(base_size = 18)

Bar plot

ggplot(iris, aes(Species, Sepal.Length)) + 
  stat_boxplot() +
  theme_grey(base_size = 18)


ropensci/gistr documentation built on Oct. 21, 2022, 2:14 p.m.