Create dataframe that finds positions for stacking

pos_stack(x0 = 0, y0 = 0, n = 5, ncol = 3, width = 1, height = width)

Arguments

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

Value

Examples

ggcanvas() + stamp_point(xy = pos_stack(), color = "blue") + stamp_text(xy = pos_stack(), label = letters[1:5])