Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

groupColumns

Group columns


Description

Group a selection of columns

Usage

groupColumns(wb, sheet, cols, hidden = FALSE)

Arguments

wb

A workbook object.

sheet

A name or index of a worksheet.

cols

Indices of cols to group.

hidden

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

Details

Group columns together, with the option to hide them.

NOTE: setColWidths has a conflicting hidden parameter; changing one will update the other.

Author(s)

Joshua Sturm

See Also

ungroupColumns to ungroup columns. groupRows for grouping rows.


openxlsx

Read, Write and Edit xlsx Files

v4.2.3
MIT + file LICENSE
Authors
Philipp Schauberger [aut, cre], Alexander Walker [aut], Luca Braglia [ctb], Joshua Sturm [ctb]
Initial release
2020-10-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.