addrgroup: Add row groups of an object of ztable

Description Usage Arguments

View source: R/ztable2.R

Description

Add row groups of an object of ztable

Usage

1
2
3
4
5
6
7
8
addrgroup(
  z,
  rgroup,
  n.rgroup,
  cspan.rgroup = NULL,
  color = "black",
  bg = "white"
)

Arguments

z

An object of ztable

rgroup

A character vector indicating names of row group. Default value is NULL

n.rgroup

A integer vector indicating the numbers of rows included in each rgroup Default value is NULL

cspan.rgroup

An integer indicating the column span of rgroup

color

A character vector indicating the font color of rgroup.

bg

A character vector indicating the background color of rgroup.


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