
Conversion between base10 and base30
Source:R/base30toNumeric.R
, R/numericToBase30.R
base30conversion.Rd
Note: this function is deprecated; use this function in the {squids}
package!
Details
The conversion functions from base10 to base30 and vice versa are
used by the generate_uids()
functions.
The symbols to represent the 'base 30' system are the 0-9
followed by the alphabet without vowels but including the y (see
squids::squids-package
).
Examples
rock::numericToBase30(
654321
);
#> Warning: The `numericToBase30()` functon in the {rock} package is deprecated. Change your code to use the same function in the {squids} package.
#> [1] "s70p"
rock::base30toNumeric(
rock::numericToBase30(
654321
)
);
#> Warning: The `base30toNumeric()` functon in the {rock} package is deprecated. Change your code to use the same function in the {squids} package.
#> Warning: The `numericToBase30()` functon in the {rock} package is deprecated. Change your code to use the same function in the {squids} package.
#> [1] 654321