knitr::opts_chunk$set(echo = FALSE) library(minterbrand) minter_ggplot_theme_update()
Slide text goes here.
summary(cars)
plot(pressure)
plt <- ggplot(pressure, aes(x=temperature)) + geom_point(aes(y=pressure)) + geom_line(aes(x=temperature, y=pressure), color = 'blue') + ggtitle("Pressure as f(temperature)") + theme(axis.text=element_text(size=12), axis.title=element_text(size=14), plot.title = element_text(hjust = 0.5)) # center the title print(plt)
AA
BB
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.