Description Usage Arguments See Also Examples
Convert string representations of numbers in any base to any other base.
1 | convertBase(x, base1 = 10, base2 = 10)
|
x |
a vector of integers or strings to be converted |
base1 |
the base of x |
base2 |
the base of the output |
1 2 3 4 5 | identical(convertBase(1234,base2=8),as.character(as.octmode(1234)))
convertBase(17771,base1=8,base2=30)
convertBase(17771,base1=8,base2=10)
convertBase(8185,base1=10,base2=30)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.