transpose_wide | R Documentation |
This function is called by wide2excel
with option transpose = TRUE
to generate a row-based tabular data format from a wide data frame in R that is suitable for exporting to Excel.
transpose_wide(data, date.format = "%d/%m/%Y")
data |
a wide format data frame where each column is a variable and the first variable uniquely identifies the data. |
date.format |
a format for date columns which is passed to |
A transposed data frame or data.table
(the class of the input is preserved).
transpose
, long2wide
, wide2excel
, ugatsdb
transpose_wide(get_data("BOU_CPI"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.