pos_stack: Create dataframe that finds positions for stacking

View source: R/pos_stack.R

pos_stackR Documentation

Create dataframe that finds positions for stacking

Description

Create dataframe that finds positions for stacking

Usage

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

Examples

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


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