View source: R/helpers_io_long.R
| make_long_from_workbook | R Documentation |
Reads an XLSX workbook, identifies a worksheet in long or wide format, and converts wide-format data to long format when needed.
make_long_from_workbook(path, sheet_prefer = NULL, factors = "trat")
path |
Path to the |
sheet_prefer |
Preferred worksheet, or |
factors |
Character vector of treatment-factor names. |
Long-format data frame with source_sheet, format, and
treatment_factors attributes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.