Learn R Programming

metacoder (version 0.3.7)

convert_base: Converts decimal numbers to other bases

Description

Converts from base 10 to other bases represented by a given set of symbols.

Converts from base 10 to other bases represented by a given set of symbols.

Usage

convert_base(
  numbers,
  symbols = letters,
  base = length(symbols),
  min_length = 0
)

convert_base( numbers, symbols = letters, base = length(symbols), min_length = 0 )

Value

character vector

character vector

Arguments

numbers

One or more numbers to convert.

symbols

The set of symbols to use for the new base.

base

The base to convert to.

min_length

The minimum number of symbols in each result.