addRowColor: Add row colors of an object of ztable

View source: R/ztable2.R

addRowColorR Documentation

Add row colors of an object of ztable

Description

Add row colors of an object of ztable

Usage

addRowColor(z, rows = NULL, bg = NULL, color = NULL, condition = NULL)

Arguments

z

An object of ztable

rows

An integer vector indicating specific rows

bg

A character vector indicating background color

color

A character vector indicating color

condition

Logical expression to select rows

Examples

z=ztable(head(iris))
z=addRowColor(z,c(1,3),color="platinum")
z

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