provide wb_data object as mschart input
Arguments
- wb
a workbook
- sheet
a sheet in the workbook either name or index
- dims
the dimensions
- ...
additional arguments for
wb_to_df()
. Be aware that not every argument is valid.- x
x
- i
i
- j
j
- drop
drop
Examples
wb <- wb_workbook() %>%
wb_add_worksheet() %>%
wb_add_data(x = mtcars, dims = "B2")
wb_data(wb, 1, dims = "B2:E6")
#> mpg cyl disp hp
#> 3 21.0 6 160 110
#> 4 21.0 6 160 110
#> 5 22.8 4 108 93
#> 6 21.4 6 258 110