powered by
Add row colors of an object of ztable
addRowColor(z, rows = NULL, bg = NULL, color = NULL, condition = NULL)
An object of ztable
An integer vector indicating specific rows
A character vector indicating background color
A character vector indicating color
Logical expression to select rows
# NOT RUN { z=ztable(head(iris)) z=addRowColor(z,c(1,3),color="platinum") z # }
Run the code above in your browser using DataLab