addRowColor | R Documentation |
Add row colors of an object of ztable
addRowColor(z, rows = NULL, bg = NULL, color = NULL, condition = NULL)
z |
An object of ztable |
rows |
An integer vector indicating specific rows |
bg |
A character vector indicating background color |
color |
A character vector indicating color |
condition |
Logical expression to select rows |
z=ztable(head(iris))
z=addRowColor(z,c(1,3),color="platinum")
z
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.