Description Usage Arguments Value Examples
View source: R/padis_general_functions.R
This function is useful to generate the item names that are needed for the transformation from long to wide format
1 | swap_char(string, separator = ".", unifyer = "_")
|
string |
The string that should be swapped |
separator |
The separator where the stringr should be splitted (takes always the first hit) |
unifyer |
The character stringr with which the string should be merged again |
Returns a character stringr
1 | swap_char("this.string", ".", "_")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.