Skip to contents

A model rack may have multiple indices_boxed* columns. For example, one called indices_boxed and the other indices_boxed_other containing index summaries for a set of columns with boxes defined substantially differently. For each of the rack columns, for each of the models a sheet for tall index summary and a sheet for wide index summary will be rendered.

Usage

rack_render_indices_boxed(rack, wb = NULL, quiet = FALSE)

Arguments

rack

A model rack to calculate summaries on.

wb

Workbook object to attach the rendered summary tab(s) to. If NULL, the default, an empty Workbook object will be initialized to contain the new tab(s).

quiet

Logical. If TRUE, suppresses warnings about missing required columns. Default is FALSE.

Examples

wb <- rack_render_indices_boxed(example_seg_rack_extended)

out_dir <- file.path(tempdir(), "g6tr.segmentation")
if (!dir.exists(out_dir)) dir.create(out_dir, recursive = TRUE)

openxlsx::saveWorkbook(
  wb,
  file.path(out_dir, "example_wb_indices_boxed.xlsx"),
  overwrite = TRUE
)