Description Usage Arguments Value Author(s) References
View source: R/separate_on_multiple.R
The following function helps you in separating a variable into two column using up to three separators
1 2 | separate_on_multiple(data, var_to_separate, sep1, sep2 = NULL,
sep3 = NULL)
|
data |
the dataset containing the variable that needs to be separated |
var_to_separate |
the variable that needs to be separated |
sep1 |
the first separator included in the variable that needs to be separated |
sep2 |
the second separator included in the variable that needs to be separated (default is NULL) |
sep3 |
the third separator included in the variable that needs to be separated (defaul is NULL) |
the @param var_to_separate will be divided into two column based on the included separators
Alberto Gualtieri, alberto.gualtieri@reach-initiative.org
https://github.com/agualtieri/dataqualitycontrol
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.