Description Usage Arguments Value Examples
Like rev
in Haskell when applied to a string. When applied to a vector of strings, reverses each string but maintains their order. That's why it's not called "rev.character": to avoid having to use rev.default
everywhere else.
1 | revChar(x)
|
x |
[character] String or a vector of strings to be reversed. |
[character] Reversed string or a vector of reversed strings in the original order.
1 | soundcorrs:::revChar (c("kayak", "madam", "racecar"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.