Learn R Programming

openxlsx (version 4.2.3)

groupRows: Group Rows

Description

Group a selection of rows

Usage

groupRows(wb, sheet, rows, hidden = FALSE)

Arguments

wb

A workbook object

sheet

A name or index of a worksheet

rows

Indices of rows to group

hidden

Logical vector. If TRUE the grouped columns are hidden. Defaults to FALSE

See Also

ungroupRows to ungroup rows. groupColumns for grouping columns.