gtable_extra: Grob underlying graphical display of a table with grobs of...

Description Usage Arguments Value Author(s) See Also

View source: R/gtables.R

Description

The code is inspired by the tableGrob function gridExtra.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
gtable_extra(
  dscale,
  dcolor = NULL,
  dscale_min = NULL,
  dscale_max = NULL,
  rows = rownames(dscale),
  cols = colnames(dscale),
  rows_more = NULL,
  cols_more = NULL,
  theme = ttheme_awesome(),
  vp = NULL
)

Arguments

dscale

a matrix containing the values defining the grobs scales.

dcolor

(optional) a matrix of size (n,m) containing the values defining the grobs colors.

dscale_min

(optional) value for setting the minimum scale size of foreground grobs. Entries in the dscale matrix below dscale_min will have a scale of 0 (no grob).

dscale_max

(optional) value for setting the maximum scale size of foreground grobs. Entries in the dscale matrix above dscale_max will have a scale of 1.

rows

(optional) a character vector.

cols

(optional) a character vector.

rows_more

(optional) a named list of additional columns (right-part) of the plot for describing the rows. The list names will be used as column headers.

cols_more

(optional) a named list of additional rows (top-part) of the plot for describing the columns The list names will be used as row headers.

theme

a list of theme parameters. Use an instance of ttheme_awesome.

vp

optional viewport.

Value

A gtable object.

Author(s)

Yoann Pradat

See Also

ttheme_awesome()


tableExtra documentation built on Oct. 29, 2021, 5:06 p.m.