powered by
Converts base representation of a number into integer.
fromBase(x, base = 2L)
The function returns a positive integer that is a conversion from base under given coefficients x.
base
x
vector of positive integer coefficients representing the number in base that is base.
positive integer representing the base.
fromBase(c(1, 2, 0, 2, 3), 5)
Run the code above in your browser using DataLab