R/base30toNumeric.R
, R/numericToBase30.R
base30conversion.Rd
The conversion functions from base10 to base30 and vice versa are
used by the generate_uids()
functions.
base30toNumeric(x)
numericToBase30(x)
The vector to convert (numeric for numericToBase30
,
character for base30toNumeric
).
The converted vector (numeric for base30toNumeric
, character for numericToBase30
).
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