addRowColor: Add row colors of an object of ztable

Description Usage Arguments Examples

View source: R/ztable2.R

Description

Add row colors of an object of ztable

Usage

1
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

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

Example output

Welcome to package ztable ver 0.1.5
sh: 0: Can't open /dev/null

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