excel2List | R Documentation |
You can tell the function what type you want the data.frames to be coerced to. Default is data.table.
excel2List(path, FUN_type = "data.table::data.table", ...)
path |
[type: char] a path to an excel file, read by readxl::excel_sheets. |
FUN_type |
[type: function | char, default: "data.table::data.table"] a function or string matching a function name to which to format the resulting data in the list. |
... |
extra arguments passed to readxl::read_excel(). |
list<data.table | dx>
excel2List(system.file("extdata", "comparisons.xlsx", package = "derecksLabTools"), FUN_type = as.data.frame) excel2List(system.file("extdata", "comparisons.xlsx", package = "derecksLabTools"), FUN_type = "data.table::as.data.table")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.