addColColor: Add column colors of an object of ztable

View source: R/ztable2.R

addColColorR Documentation

Add column colors of an object of ztable

Description

Add column colors of an object of ztable

Usage

addColColor(z, cols = NULL, bg = NULL, color = NULL)

Arguments

z

An object of ztable

cols

An integer vector indicating specific columns

bg

A character vector indicating background color

color

A character vector indicating color

Examples

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

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