explode | R Documentation |
Explode a data.frame if there are split charter in one column
explode(df, column, split = ",")
df |
data.frame |
column |
column |
split |
split string |
data.frame
df <- data.frame(a = 1:2, b = c("a,b", "c"), c = 3:4)
explode(df, "b", ",")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.