pos_honeycomb_y: Create vector for y that, with x will, form a wrapping...

View source: R/pos_honeycomb_y.R

pos_honeycomb_yR Documentation

Create vector for y that, with x will, form a wrapping honeycomb pattern

Description

Create vector for y that, with x will, form a wrapping honeycomb pattern

Usage

pos_honeycomb_y(y0 = 0, n = 5, ncol = 3, height = 1.5)

Arguments

y0

numeric y start position

n

number of positions

ncol

number of columns before wrap, default is 3

height

numeric, height between positions

Examples

pos_honeycomb_y()
ggcanvas() +
 stamp_polygon(x0 = pos_honeycomb_x(),
               y0 = pos_honeycomb_y())

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