replace_char | R Documentation |
Using gsub() to make repeated character string element replacements.
replace_char(char.vec, to.be.rep, replacement)
char.vec |
Vector of elements with to replace. |
to.be.rep |
Vector of characters to replace. |
replacement |
Vector of characters to replace with. |
n <- c("Se, en fraek raev", "Oesterland", "Aalborg", "Soester Aase", "Soendergaard") p <- c('Ae', 'ae', 'Oe', 'oe','Aa','aa') r <- c('Æ', 'æ', 'Ø', 'ø','Å','å') replace_char(n,p,r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.