Title

pos_wrap_x(x0 = 0, n = 5, ncol = 3, width = 1, snake = FALSE)

Arguments

x0

numeric for x starting point for positioner

n

number of positions

ncol

number of columns before wrap

Value

Examples

pos_wrap_x()
#> [1] 0 1 2 0 1
pos_wrap_x(n = 12)
#> [1] 0 1 2 0 1 2 0 1 2 0 1 2
pos_wrap_x(snake = TRUE)
#> [1] 0 1 2 2 1