R: Add column groups of an object of ztable

addcgroup {ztable} | R 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.

[Package ztable version 0.2.0 Index]