cleanTexts(HFWutils) | R Documentation |
vectorised clean up does three things
a) adds spaces around special characters ,\.\":!?;()-
b) gets rid of multiple spaces
c) trims leading and trailing spaces
cleanTexts(x)
x |
~~Describe x here~~ |
~~ If necessary, more details than the description above ~~
~Describe the value returned If it is a LIST, use
comp1 |
Description of 'comp1' |
comp2 |
Description of 'comp2' |
...
~~further notes~~
Felix Wittmann hfwittmann@gmail.com
~put references to the literature/web site here ~
~~objects to See Also as help
, ~~~
s0 <- c('asd:-asdas','asd?asdas') # [1] "asd:-asdas" "asd?asdas" cleanTexts(s0) # [1] "asd : - asdas" "asd ? asdas"