powered by
Explode a data.frame if there are split charter in one column
explode(df, column, split = ",")
data.frame
column
split string
# \donttest{ df <- data.frame(a = 1:2, b = c("a,b", "c"), c = 3:4) explode(df, "b", ",") # }
Run the code above in your browser using DataLab