Description Usage Arguments Examples
spread_multi
works simililarly to tidyr::spread
but allows
for multiple value columns to be passed to the ellipsis (...
) argument
which are spread simultaneously
1 | spread_multi(.data, .key, ..., sep = "_")
|
.data |
a data.frame to be spread |
.key |
the key column which will be spread across the columns of the resulting data frame |
... |
the value columns to be spread. All column naming conventions that
can be used with |
sep |
the seperator to create column names of the form '<key_name><sep><key_value>' |
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.