Skip to contents

A model rack may have multiple indices_detailed* columns. For example, one called indices_detailed_demo and the other indices_boxed_screening. For each of the columns, for each of the models a sheet of detailed index summaries will be rendered.

Usage

rack_render_indices_detailed(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_detailed(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_detailed.xlsx"),
  overwrite = TRUE
)