Skip to contents

Adds default elements to gt() table

Usage

gt.basetheme(
  x,
  gtopts = "all",
  sizepct = 100,
  style = 4,
  digits = 2,
  interactive_mult = 1.14,
  seps = FALSE,
  na_format = "-",
  size = "",
  interactive = ""
)

Arguments

x

Input data or gt table

gtopts

Which elements to add

sizepct

(default: 70) How big to make tables

style

(default: 4) Style number (see gt())

digits

(default: 2) Number formatting

interactive_mult

(default: 80/70) Multtiple of sizepct applies to interactive tables.

seps

(default: FALSE) Number formatting thousands separators

na_format

(default: "-") WHat to show for NAs

size

(default: "") Size of text, either "" or "small"

interactive

(default: "") String with interative elements: contains one of (all|filter|search)