register_output: Register table for the output

View source: R/helpers.R

register_outputR Documentation

Register table for the output

Description

Save the table into a global 'OUTPUT' list to write is as an output spreadsheet later.

Usage

register_output(tbl, name = NULL, caption = NULL, note = NULL)

Arguments

tbl

is a 'data.frame' or 'mlth.data.frame' or any other input supported by 'write.xlsx.output'.

name

is table name in the 'OUTPUT' list. Can be empty.

caption

is table caption as a merged cell above the table.

note

is table footnote as a merged cell below the table.

Value

‘tbl' with ’caption' and 'note' attributes


IvanVoronin/mlth.data.frame documentation built on Jan. 31, 2024, 10:13 a.m.