View source: R/formatXL_head.R
formatXL_head | R Documentation |
This function saves a data.frame to an Excel file with the header row in bold
face, centered both horizontally and vertically, and with wrapped text. It
also sets the column widths to a reasonable guess based on the data you're
writing. For more details, please see formatXL
.
formatXL_head(DF, file, sheet = NA)
DF |
input data.frame |
file |
file name (character) |
sheet |
sheet name (character). Defaults to the name of the supplied data.frame if no other name is supplied. |
This does not return any R objects; instead, it saves an Excel file.
This does not return any R objects; it saves an Excel file.
data(iris)
formatXL_head(DF = iris, file = "test.xlsx", sheet = "iris1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.