View source: R/pos_wrap_multi.R
| pos_wrap_multi | R Documentation |
Title
pos_wrap_multi( x0 = 0, y0 = 0, n = c(5, 8), ncol = 3, width = 1, spacing = 1, width_multi = ncol * width + spacing, 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 |
spacing |
width between wrapped groups, defaulst to 1 |
width_multi |
spacing for groups, defaults to width + spacing |
# 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.