Description Usage Arguments Details Value Examples
View source: R/names_processing.R
splits comma or plus separated variable names into a character vector
1 | split_variable_names(predictors_vector, acronyms = NULL, split_by = "[\\+,]")
|
predictors_vector |
character vector of comma or plus separated variable lists |
acronyms |
tibble with two character columns: acronym, meaning |
split_by |
regex expression, comma and plus by default |
splits comma or plus separated variable names into a character vector. Duplicate variable names are removed. For a vector input just collects all variable names.
character vector with variable names
1 | split_variable_names(c("aaa+bbb", "ccc,bbb,ddd"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.