Description Usage Arguments Value Examples
It acts similiarly to Excel's SUBSTITUTE function. If you want to substitute the characters by certain characters you should use this function.
1 | SUBSTITUTE(text, old_text, new_text)
|
text |
Where should it substitute the characters |
old_text |
Which text should it substitute |
new_text |
What should it substitute with. |
In this example we take text "CRAN", we take the old text "RAN" and replace it with "out" which in return gives us "Cout". Function will always return character class.
1 | SUBSTITUTE("CRAN","RAN","out")
|
[1] "Cout"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.