mat_spread_TR_FALSE | R Documentation |
Spread data with TRUE/FALSE (from count)
mat_spread_TR_FALSE(df, col, n_col = n)
df |
data |
col |
col to spread |
n_col |
name of n column |
library(dplyr)
iris %>%
count(is_low_6=Sepal.Length<6, Species) %>%
mat_spread_TR_FALSE(is_low_6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.