View source: R/fix_functions.R
fix_concat | R Documentation |
Fixes concatenated values in a variable
fix_concat(x, varname, sep = ", |; | ", track = TRUE)
x |
A data.frame |
varname |
Variable name |
sep |
Separator for the different values |
track |
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.