pos_polygon_x <- function(x0 = 0,
n = 5,
radius = 1,
rotation = -.5){
radius * cos(-2*pi*0:(n-1)/n - rotation * pi) + x0
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.