add_to_wb | R Documentation |
This is a wrapper around addWorksheet and writeData to allow less typing. It export one object per sheet, the sheet will be created accordingly to the name given
add_to_wb(wb = NULL, sheet = NULL, x = NULL, ...)
wb |
a Workbook object |
sheet |
name of the sheet to be created |
x |
object to be exported |
... |
further arguments passed to writeData |
wb = openxlsx::createWorkbook()
add_to_wb(wb = wb, sheet = 'Indometh', x = Indometh)
add_to_wb(wb = wb, sheet = 'Iris', x = iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.