powered by
Add column colors of an object of ztable
addFrontColor(z, rows, cols, color)
An object of ztable
An integer vector indicating specific rows
An integer vector indicating specific columns
A character vector indicating color
# NOT RUN { z=ztable(head(iris)) z=addFrontColor(z,rows=2:4,cols=c(2,4,6),color=c("red","green","blue")) z # }
Run the code above in your browser using DataLab