split_column | R Documentation |
split a column and return a longer tibble
split_column(df, name_col, value_col, sep = ",")
df |
tibble |
name_col |
repeat this as name column |
value_col |
expand by this value column |
sep |
separator in the string |
expanded tibble
fancy_count(mini_diamond, cut, ext = clarity) %>%
split_column(name_col = cut, value_col = clarity)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.