Learn R Programming

ScreenClean (version 1.0.1)

VectorizeBase: expresses the number i on the base as a vector

Description

expresses the number i on the base as a vector, an inner function.

Usage

VectorizeBase(i, base, length)

Arguments

i
the non-negative number to be converted
base
the base to be converted on
length
the length of the converted vector

Value

vector
A vector with the given length, whose elements can be read as the number i with the given base.