tableHeader | R Documentation |
A passthrough function that creates a table header appropriate to the class of the data object being passed. Expected classes are:
CrossTabVar
ToplineVar
ToplineCategoricalArray
Title indicates whether the title should be displayed, or not (as in the case of multiple banners displayed underneath each other, the title only appears on the top one). Assumes that '\banner[a-z]' macros are defined in the preamble
tableHeader(var, theme) ## Default S3 method: tableHeader(var, theme) ## S3 method for class 'CrossTabVar' tableHeader(var, theme) ## S3 method for class 'ToplineVar' tableHeader(var, theme) ## S3 method for class 'ToplineCategoricalArray' tableHeader(var, theme)
var |
An object of class ToplineCategoricalArray |
theme |
A theme object from themeNew |
Importantly, this also controls the relative widths of the columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.