zebra {HKRbook} | R Documentation |
zebra
Description
zebra
Usage
zebra(x, col = c("#FFFFFF", "#CCCCCC"), byrow = TRUE)
Arguments
x |
html_matrix object |
col |
a vector of colors to zebra with (default: |
byrow |
logical: zebra by row or by column (default: |
Value
html_matrix object
Examples
library("magrittr")
library("tools")
m <- matrix(1:12, ncol=4)
hm <- html_matrix(m) %>% zebra()
html <- toHTML(hm, browser=interactive())
[Package HKRbook version 0.1.3 Index]