addcgroup: Add column groups of an object of ztable

Description Usage Arguments

View source: R/ztable2.R

Description

Add column groups of an object of ztable

Usage

1
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.


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