knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(tt) library(ggplot2) library(lemon)
data(mtcars) head(mtcars)
ggplot(mtcars) + geom_point(aes(wt, mpg)) + scale_x_continuous(limits = c(1, 6), breaks = seq(1, 6)) + scale_y_continuous(limits = c(10, 35)) + theme_tmth() + coord_capped_cart(left = "both", bottom = "both")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.