Skip to contents

There's a limited set of model rack columns we have rendering methods for. This function renders all the summary tabs into one workbook and saves it into a file.

Usage

rack_render_everything(rack, file)

Arguments

rack

A model rack to calculate summaries on.

file

xlsx file name to save the workbook to. If NULL, the function will return a Workbook object without creating a file.

Examples

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

rack_render_everything(
  example_seg_rack_extended,
  file.path(out_dir, "example_wb_everything.xlsx")
)