styles_pkg | R Documentation |
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.
styles_pkg
The list has the following components, each a styleObj
object:
entryStyle_pkg_base
, blockStyle_pkg_base
,
hvruleStyle_pkg_base
Minimal styles that assign the same graphical properties to all elements.
entryStyle_pkg_1
, blockStyle_pkg_1
,
hvruleStyle_pkg_1
The default styles used by the package.
entryStyle_pkg_2
Similar to entryStyle_pkg_1
, but
with hpad
and vpad
about 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).
styleObj
, tablesggOpt
names(styles_pkg) # built-in styles
str(styles_pkg$entryStyle_pkg_1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.