addFrontColor: Add column colors of an object of ztable

View source: R/ztable2.R

addFrontColorR 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

cardiomoon/ztable documentation built on July 27, 2023, 10:25 a.m.