pos_wrap_snake.Rd
Title
pos_wrap_snake(x0 = 0, y0 = 0, n = 5, ncol = 3, width = 1, height = width)
x0 | numeric for x starting point for positioner |
---|---|
y0 | numeric for y starting point for positioner |
n | number of positions |
ncol | number of columns before wrap |
pos_wrap_snake()#> x0 y0 #> 1 0 0 #> 2 1 0 #> 3 2 0 #> 4 2 -1 #> 5 1 -1ggcanvas() + stamp_path(xy = pos_wrap_snake(n = 9, ncol = 3)) + stamp_label(xy = pos_wrap_snake(n = 9, ncol = 3), label = LETTERS[1:9])