addcgroup: Add column groups of an object of ztable

View source: R/ztable2.R

addcgroupR Documentation

Add column groups of an object of ztable

Description

Add column groups of an object of ztable

Usage

addcgroup(z, cgroup, n.cgroup, color = "black", bg = "white", top = FALSE)

Arguments

z

An object of ztable

cgroup

A character vector or matrix indicating names of column group. Default value is NULL

n.cgroup

A integer vector or matrix indicating the numbers of columns included in each cgroup Default value is NULL

color

A character vector indicating the font color of each cells.

bg

A character vector indicating the background color of each cells.

top

Logical. Whether or not cgroup be placed at top.


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