uncardinal | R Documentation |

This function is in experimental development. It currently only supports English cardinal integers or character vectors produced by one of nombre's functions.

uncardinal(x) nom_uncard(x)

`x` |
A character vector of the cardinal names of numbers |

A numeric vector the same length as `n`

.
NAs will be produced for numbers with fractions or decimals or non-cardinal
numbers (e.g. ordinals).

`cardinal()`

to convert numeric vectors to number names

uncardinal("one") uncardinal("negative one hundred fifty-seven") uncardinal( c( "twenty-five", "one million two hundred thirty-four thousand five hundred sixty-seven" ) ) uncardinal("infinity") card <- cardinal(25) uncardinal(card) ord <- ordinal(25) uncardinal(ord)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.