GrobsArrange: GrobsArrange

Description Usage Arguments Value

View source: R/GGPlot2Tools_GrobsArrange.R

Description

GrobsArrange

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
GrobsArrange(
  grobs,
  ncol,
  nrow = length(grobs)%/%ncol,
  tLab = unit(0.6, "cm"),
  rLab = unit(0.6, "cm"),
  bLab = unit(0.6, "cm"),
  lLab = unit(0.6, "cm"),
  tAxis = unit(0.6, "cm"),
  rAxis = unit(0.6, "cm"),
  bAxis = unit(0.6, "cm"),
  lAxis = unit(0.6, "cm"),
  vGap = unit(0.1, "cm"),
  hGap = unit(0.1, "cm"),
  labsList = NULL,
  axisList = NULL,
  labsMar = NULL,
  axisMar = NULL,
  topLab = NULL,
  bottomLab = NULL,
  leftLab = NULL,
  rightLab = NULL
)

Arguments

grobs

Input grobs.

ncol

Number of columns.

nrow

Number of rows.

tLab

Top label margin.

rLab

Right label margin.

bLab

Bottom label margin.

lLab

Left label margin.

tAxis

Top axis margin.

rAxis

Right axis margin.

bAxis

Bottom axis margin.

lAxis

Left axis margin.

vGap

Vertical gap between plots.

hGap

Horizontal gap between plots.

labsList

Label margins in form of named list. If not NULL, used instead of other provided values.

axisList

Axis margins in form of named list. If not NULL, used instead of other provided values.

labsMar

A margin item used instead of labsList.

axisMar

A margin item used instead of axisList.

topLab

textGrob which can act as shared top axis label.

bottomLab

textGrob which can act as shared bottom axis label.

leftLab

textGrob which can act as shared left axis label.

rightLab

textGrob which can act as shared right axis label.

Value

GTable of arranged grobs.


Ilia-Kosenkov/RLibs documentation built on Jan. 26, 2020, 2:21 p.m.