knitr::opts_chunk$set(echo = TRUE)
library(ggstamp) library(tidyverse) positions <- pos_honeycomb(n = 15, ncol = 3) ggcanvas() + stamp_polygon_holes(x0y0 = positions, fill = "white", radius = .95) + # stamp_text(xy = positions, # size = 4, # label = c("flipbookr", "ggxmean", "ggsample", "ggstamp", # "doublecrochet", # "codeexplode", "exampleexploder", "ggmemory")) + stamp_polygon(x0y0 = positions, alpha = .5, radius = .95)
You can also embed plots, for example:
plot(pressure)
Note that the echo = FALSE
parameter was added to the code chunk to prevent printing of the R code that generated the plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.