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

ztable documentation built on June 19, 2026, 5:07 p.m.