Learn R Programming

repijson (version 0.1.0)

box2: generic labelled box function

Description

generic labelled box function

Usage

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