Description Usage Arguments Value Examples
View source: R/f0.rbsb1.code.r
Removes redundant characters into a character string. The most
immediate use (default) is to transform sequences of " " into
a simple " ". More generally, removes all sequences of
redu before bef or after aft.
1 | form3norma(cha, redu="", bef="", aft="")
|
cha |
The character to normalize, can be of length greater than one. |
redu |
The character to remove, single or not. |
bef |
The ante-tag, single or not. |
aft |
The post-tag, single or not. |
The transformed character (with the same length than cha.
1 2 3 4 | rbsb3k("reset"); # only necessary for R checking
form3norma(" pour voir ");
form3norma(c(" A > B ", "B > C", "D"), bef=">");
form3norma(c(" A > B ", "B > C", "D"), bef=">", aft=">");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.