View source: R/htmlTable_style_handlers.R
hasHtmlTableStyle | R Documentation |
If the attribute htmlTable.style
is set it will check if
the style_name
exists and return a logical
.
hasHtmlTableStyle(x, style_name)
x |
The object intended for |
style_name |
A string that contains the style name. |
logical
TRUE
if the attribute and style is not NULL
Other htmlTableStyle:
addHtmlTableStyle()
library(magrittr)
mx <- matrix(1:4, ncol = 2)
colnames(mx) <- LETTERS[1:2]
mx %>%
addHtmlTableStyle(align = "l|r") %>%
hasHtmlTableStyle("align")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.