p2excel: Export the A Single Dataframe to An Excel Sheet

View source: R/p2excel.R

p2excelR Documentation

Export the A Single Dataframe to An Excel Sheet

Description

The function saves a dataframe into an excel sheet with a predetermined format.

Usage

p2excel(
  tabname = "Default",
  datastable,
  tablename = "Default",
  filename = "Default.xlsx"
)

Arguments

tabname

a string with the tab's name.

datastable

the dataframe that will be exported to Excel.

tablename

a string containing the table label and title, which will appear as the first row

filename

the name of the spreadsheet

Value

a spreadsheet containing an exported tables


SophiaJia/Survout documentation built on Oct. 1, 2022, 9:52 p.m.