powered by
wb_data
provide wb_data object as mschart input
wb_data(wb, sheet = current_sheet(), dims, ...)# S3 method for wb_data [( x, i, j, drop = ifelse((missing(j) && length(i) > 1) || (!missing(i) && length(j) > 1), FALSE, TRUE) )
# S3 method for wb_data [( x, i, j, drop = ifelse((missing(j) && length(i) > 1) || (!missing(i) && length(j) > 1), FALSE, TRUE) )
A data frame of class wb_data.
a workbook
a sheet in the workbook either name or index
the dimensions
additional arguments for wb_to_df(). Be aware that not every argument is valid.
wb_to_df()
x
i
j
drop
wb_to_df() wb_add_mschart(), wb_add_pivot_table()
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")
Run the code above in your browser using DataLab