numr_replace | R Documentation |
Use these functions to turn a number into a string of Unicode digits from
another numeral system.
numr_replace()
takes character vectors and uses string replacement.
numr_substitute()
takes a numeric vector.
numr_replace(x, system)
numr_substitute(x, system)
x |
Input vector. |
system |
Two-letter language code of the replacement numeral system. |
numr_substitute()
is vectorised over x
and system
, which are
recycled to their common length.
numr_replace()
is vectorised over x
.
Character vector the same length as x
with numerals replaced.
numr_replace("0123456789", "fa")
numr_substitute(0123459789, "fa")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.