R/base30toNumeric.R
, R/base36toNumeric.R
, R/numericToBase30.R
, and 1 more
base30and36conversion.Rd
The conversion functions from base10 to base30 are
used by the generate_id()
functions; the base36
functions are just left here for convenience.
base30toNumeric(x)
base36toNumeric(x)
numericToBase30(x)
numericToBase36(x)
The vector to convert (numeric for the numericTo
functions,
character for the base30to
and base36to
funtions).
The converted vector (numeric for the base30to
and base36to
funtions,
character for the numericTo
functions).
The symbols to represent the 'base 30' system are the 0-9
followed by the alphabet without vowels but including the y. This
vector is available as base30
.
numericToBase30(654321);
#> [1] "s70p"
base30toNumeric(numericToBase30(654321));
#> [1] 654321