%>% {tableHTML} | R Documentation |
Pipe css
Description
Like dplyr and ggvis, tableHTML also uses the pipe function, %>%
to chain
css functions. The pipe function originally came from the magrittr package.
Arguments
lhs , rhs |
A tableHTML and a function to apply to it |
Examples
# Instead of
add_css_row(tableHTML(mtcars),
css = list(c('background-color', 'border'), c('lightgray', '3px solid green')))
# you can write
mtcars %>%
tableHTML() %>%
add_css_row(css = list(c('background-color', 'border'), c('lightgray', '3px solid green')))
[Package tableHTML version 2.1.2 Index]