Learn R Programming

basictabler (version 1.0.2)

getTblTheme: Get a built-in theme for styling a table.

Description

getTblTheme returns the specified theme.

Usage

getTblTheme(parentTable, themeName = NULL)

Value

A TableStyles object.

Arguments

parentTable

Owning table.

themeName

The name of the theme to retrieve.

Examples

Run this code
library(basictabler)
tbl <- qtbl(data.frame(a=1:2, b=3:4))
tbl$theme <- getTblTheme(tbl, "largeplain")
tbl$renderTable()

Run the code above in your browser using DataLab