Export image to a file

export_image(
  input,
  filename,
  width = 10,
  height = 10,
  dpi = 300,
  xlim = NULL,
  ylim = NULL
)

Arguments

input

art object to print

filename

filename

width

defaults to 3000 pixels (10in at 300dpi)

height

defaults to 3000 pixels (10in at 300dpi)

dpi

defaults to 300dpi

xlim

by default plot limits are c(-.05, 1.05), relative to data spanning c(0, 1), but can override

ylim

by default plot limits are c(-.05, 1.05), relative to data spanning c(0, 1), but can override