Skip to contents

Global parameters to add and customize info boxes in roboplots and robomaps.

Usage

set_infobox(
  background = first(unlist(unique(getOption("roboplot.grid")[c("xcolor", "ycolor")]))),
  border = first(unlist(unique(getOption("roboplot.border")[c("xcolor", "ycolor")]))),
  border_width = 1
)

Arguments

background, border

Characters. Colors used for the corresponding element of the infopopup of robotable()s and roboplot()s. Must be a hexadecimal color or a valid css color.

border_width

Integer. The border width of infomodal.

Value

A list of class roboplot.set_infobox.