Description Usage Arguments Value
My own twist on tidyr::pivot_longer and tidyr::pivot_wider, just for convenience
1 |
data |
A data frame to pivot. |
cols |
< |
names_to |
A string specifying the name of the column to create
from the data stored in the column names of Can be a character vector, creating multiple columns, if
|
values_to |
A string specifying the name of the column to create
from the data stored in cell values. If |
... |
Additional arguments passed on to methods. |
data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.