base30toNumeric {squids}R Documentation

Conversion between base10 and base30

Description

The conversion functions from base10 to base30 and vice versa are used by the squids() functions.

Usage

base30toNumeric(x)

numericToBase30(x)

Arguments

x

The vector to convert (numeric for numericToBase30, character for base30toNumeric).

Details

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.

Value

The converted vector (numeric for base30toNumeric, character for numericToBase30).

Examples

squids::numericToBase30(
  654321
);

squids::base30toNumeric(
  squids::numericToBase30(
    654321
  )
);

[Package squids version 25.6.1 Index]