addFrontColor | R Documentation |
Add column colors of an object of ztable
addFrontColor(z, rows, cols, color)
z |
An object of ztable |
rows |
An integer vector indicating specific rows |
cols |
An integer vector indicating specific columns |
color |
A character vector indicating color |
z=ztable(head(iris))
z=addFrontColor(z,rows=2:4,cols=c(2,4,6),color=c("red","green","blue"))
z
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.