Skip to contents

add_card_border() is a helper function used internally by plot_cards() and can be used to further modify output plots.

Usage

add_card_border(
  plots,
  card = NULL,
  inset = grid::unit(c(5, 5), "mm"),
  fill = NA,
  color = "white",
  linetype = "dashed",
  linewidth = 1
)

Arguments

inset

Numeric distance to inset an input page.

fill, color, linetype, linewidth

Fixed aesthetics passsed to ggplot2::geom_tile()