R/position.R

Defines functions pos_polygon_x

Documented in pos_polygon_x

pos_polygon_x <- function(x0 = 0,
            n = 5,
            radius = 1,
            rotation = -.5){

  radius * cos(-2*pi*0:(n-1)/n - rotation * pi) + x0

}
EvaMaeRey/ggstamp documentation built on June 30, 2022, 11 p.m.