box2: generic labelled box function

Description Usage Arguments Value

View source: R/epijsonObjectVis.R

Description

generic labelled box function

Usage

1
2
3
box2(xmin = 0.01, xmax = 0.99, ymin = 0.01, ymax = 0.99,
  label = "box2", colour = "gray60", fill = "white", gg = NULL,
  addSheets = 0, size = 4, print = FALSE)

Arguments

xmin

0 to 1

xmax

0 to 1

ymin

0 to 1

ymax

0 to 1

label

to print at top of box

colour

border of box

fill

fill colour for box NA=none

gg

ggplot object, if passed box is added if NULL new ggplot object created

addSheets

how many sheets to add behind box to indicate array

size

font size for label

print

TRUE/FALSE whether to print the ggplot object

Value

a ggplot object


Hackout2/repijson documentation built on May 6, 2019, 9:48 p.m.