R: Add column colors of an object of ztable

addFrontColor {ztable} | R Documentation

## Add column colors of an object of ztable

### Description

Add column colors of an object of ztable

### Usage

    addFrontColor(z, rows, cols, color)

### Arguments

`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

### Examples

    z=ztable(head(iris))
    z=addFrontColor(z,rows=2:4,cols=c(2,4,6),color=c("red","green","blue"))
    z

[Package ztable version 0.2.0 Index]