addFrontColor: Add column colors of an object of ztable

Description Usage Arguments Examples

View source: R/ztable2.R

Description

Add column colors of an object of ztable

Usage

1
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

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

ztable documentation built on Sept. 28, 2021, 9:07 a.m.