addColColor: 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
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

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

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