View source: R/htmlTable_style_handlers.R
| getHtmlTableStyle | R Documentation |
A wrap around the base::attr() that retrieves the style
attribute used by htmlTable() (htmlTable.style).
getHtmlTableStyle(x)
x |
The object intended for |
A list if the attribute exists, otherwise NULL
library(magrittr)
mx <- matrix(1:4, ncol = 2)
colnames(mx) <- LETTERS[1:2]
mx %>%
addHtmlTableStyle(align = "l|r") %>%
getHtmlTableStyle()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.