Description Usage Arguments Value Author(s)
View source: R/spread_gather.R
Spread and gather the table so that missing pairs are added.
1 | spread_gather(x, col, val, fill)
|
x |
tibble or dataframe. |
col |
character. Name of the column which should be srepad. |
val |
character. Name of the column populating the cells. |
fill |
NA or numeric. Value used to fill missing data. |
A tibble or dataframe where missing pairs have beend added.
Nicolas Mangin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.