Title

pos_wrap_y_png(
  y0 = 0,
  n = 5,
  ncol = 3,
  png = system.file("img", "Rlogo.png", package = "png"),
  image = png::readPNG(png),
  width = 1,
  height = width * dim(image)[2]/dim(image)[1]
)

Arguments

y0

numeric for y starting point for positioner

n

number of positions

ncol

number of columns before wrap

png

a string with the path to an image, defaults to R image

image

a numeric array with png red green blue alpha information, defaults to png::readPNG(png)

width

the width that the image should fill, defaults to 1

height

the height that the image should fill, calculated to match aspect ratio based on width

Value