wb_data | R Documentation |
wb_data
attribute to a data frame in a worksheetprovide wb_data object as mschart input
wb_data(wb, sheet = current_sheet(), dims, ...)
## S3 method for class 'wb_data'
x[
i,
j,
drop = ifelse((missing(j) && length(i) > 1) || (!missing(i) && length(j) > 1), FALSE,
TRUE)
]
wb |
a workbook |
sheet |
a sheet in the workbook either name or index |
dims |
the dimensions |
... |
additional arguments for |
x |
x |
i |
i |
j |
j |
drop |
drop |
A data frame of class wb_data
.
wb_to_df()
wb_add_mschart()
, wb_add_pivot_table()
wb <- wb_workbook() %>%
wb_add_worksheet() %>%
wb_add_data(x = mtcars, dims = "B2")
wb_data(wb, 1, dims = "B2:E6")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.