| styles_pkg {tablesgg} | R Documentation |
Built-In Styles for Table Elements
Description
A list that contains pre-defined styles for table entries, blocks, and hvrules. Styles are used to assign graphical properties to elements, and thus control the appearance of a table when it is displayed. In addition to the package-provided styles in this list, users can modify or create new styles to customize their tables.
Usage
styles_pkg
Format
The list has the following components, each a styleObj object:
entryStyle_pkg_base,blockStyle_pkg_base,hvruleStyle_pkg_baseMinimal styles that assign the same graphical properties to all elements.
entryStyle_pkg_1,blockStyle_pkg_1,hvruleStyle_pkg_1The default styles used by the package.
entryStyle_pkg_2Similar to
entryStyle_pkg_1, but withhpadandvpadabout 50 percent larger, to give a more spacious layout of table entries.entryStyle_pkg_null,blockStyle_pkg_null,hvruleStyle_pkg_null"Null" styles designed to not match any element, and thus not assign graphical properties to any element. Using the null style for hvrules is a way to disable all hvrules when the plot is created (rather than afterwards using a
props<-function).
See Also
Examples
names(styles_pkg) # built-in styles
str(styles_pkg$entryStyle_pkg_1)