theme_publish() demo

knitr::opts_chunk$set(
  echo = TRUE,
  warning = FALSE, 
  message = FALSE,
  comment = "# >"
)

Sample code

require(envalysis)
require(ggplot2)
p <- ggplot(mtcars) + geom_point(aes(x = wt, y = mpg,
     colour=factor(gear))) + facet_wrap( ~ am)
p
p + theme_publish()


Try the envalysis package in your browser

Any scripts or data that you put into this service are public.

envalysis documentation built on March 6, 2021, 1:07 a.m.