Learn R Programming

openxlsx (version 4.2.6.1)

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

Author

Joshua Sturm

See Also

ungroupRows() to ungroup rows. groupColumns() for grouping columns.