pos_wrap_multi: Title

View source: R/pos_wrap_multi.R

pos_wrap_multiR Documentation

Title

Description

Title

Usage

pos_wrap_multi(
  x0 = 0,
  y0 = 0,
  n = c(5, 8),
  ncol = 3,
  width = 1,
  spacing = 1,
  width_multi = ncol * width + spacing,
  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

spacing

width between wrapped groups, defaulst to 1

width_multi

spacing for groups, defaults to width + spacing

Examples

# just printing
pos_wrap_multi(n = c(3, 4), ncol = 2)
pos_wrap_multi()

# in plot
ggcanvas() +
  stamp_point(xy =
      pos_wrap_multi(n = c(5, 10),
                     ncol = 4))

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