addXlWorksheet: Add Excel Worksheet

addXlWorksheetR Documentation

Add Excel Worksheet

Description

This AddWorksheet function adds a worksheet to a previously create excel document

Usage

addXlWorksheet(data_table, excel_doc, sheet_name)

Arguments

data_table

Data that is to be written to the new worksheet

excel_doc

The excel document variable created with openxlsx::createworkbook()

sheet_name

Name that the new worksheet is to be labelled as

Details

The data table is the first parameter and it returns the first parameter unchanged so that it is compatible with magrittr "%>%"

Value

The data table provide, unmodified


nick-komick/iRecAnalysisPkg documentation built on July 7, 2024, 6:29 a.m.