theme_grob: Customizes appearance of condformat object

View source: R/theme_grob.R

theme_grobR Documentation

Customizes appearance of condformat object

Description

This is only used on grob output, which requires the gridExtra package (install.packages("gridExtra")).

Usage

theme_grob(x, ...)

Arguments

x

The condformat object

...

Arguments to be passed to gridExtra::tableGrob (see examples)

See Also

gridExtra::tableGrob()

Examples

data(iris)
if (requireNamespace("gridExtra", quietly = TRUE)) {
  cf <- condformat(head(iris)) |>
    theme_grob(
      rows = NULL,
      theme = gridExtra::ttheme_default(base_size = 10, base_colour = "red")
    )
  condformat2grob(cf)
}

condformat documentation built on July 10, 2026, 1:07 a.m.