if (interactive()) {
library(ggplot2)
## Plot the patches in a minimum planar graph
theme_set(theme_grainscape())
plot(tinyPatchMPG, quick = "mpgPlot")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.