ttheme: Modify the components of a ttheme

Description Usage Arguments

View source: R/ttheme.R

Description

Modify the components of a ttheme

Usage

1
2
3
ttheme(text, rect, title, table.title, table.subtitle, panel.title, caption,
  caption.source, caption.note, header, header.main, header.super,
  header.background, data, data.background, margin)

Arguments

text

All text elements ('element_text').

rect

All rectangle elements ('element_rect').

title

All title elements including the title and subtitle ('element_text'; inherits from 'text').

table.title

The table title ('element_text'; inherits from 'title').

table.subtitle

The table subtitle ('element_text'; inherits from 'title').

panel.title

The title for each panel ('element_text'; inherits from 'text').

caption

All caption elements including the source and the note ('element_text'; inherits from 'text').

caption.source

The source line for the table ('element_text'; inherits from 'caption').

caption.note

The note for the table ('element_text'; inherits from 'caption').

header

The column headers ('element_text'; inherits from 'text').

header.main

The column headers ('element_text'; inherits from 'header').

header.super

The column super headers ('element_text'; inherits from 'header').

header.background

The background for the column headers ('element_rect'; inherits from 'rect').

data

The data contents of the table ('element_text'; inherits from 'text').

data.background

The background for the data contents of the table ('element_rect'; inherits from 'rect').

margin

The margins around the entire table ('unit' with the sizes of the top, right, bottom, and left margins).


joevanderlans/ggtable documentation built on May 20, 2019, 9:42 a.m.