powered by
Fixes concatenated values in a variable
fix_concat(x, varname, sep = ", |; | ", track = TRUE)
A data.frame
Variable name
Separator for the different values
Track changes?
mydata <- data.frame(concat=c("a", "b", "a b" , "a b, c", "a; c"), numeric = c(1, 2, 3, 4, 5)) fix_concat(mydata, "concat")
Run the code above in your browser using DataLab