excel_export: Export a Microsoft Excel file (using openxlsx).

Description Usage Arguments

View source: R/excel.R

Description

Export a Microsoft Excel file (using openxlsx).

Usage

1
2
3
4
5
6
7
8
excel_export(
  data,
  path,
  create_dir = FALSE,
  sheet = NULL,
  footer = NULL,
  n_cols_rowname = 0
)

Arguments

data

A data frame or a named list of data frames that will be sheets in the Excel file.

path

Path to the created Excel file.

create_dir

if TRUE then the directory containing the Excel file is created.

sheet

Sheet name if data is a data frame, or overrides list names.

footer

Footer notes to place beneath tables in sheets.

n_cols_rowname

Number of columns containg row names. These columns usualy don't need header.


stephLH/impexp documentation built on April 7, 2020, 9:40 a.m.