addrgroup: Add row groups of an object of ztable

View source: R/ztable2.R

addrgroupR Documentation

Add row groups of an object of ztable

Description

Add row groups of an object of ztable

Usage

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.


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