anyBaseToDecimal: Convert from anybase to decimal

Description Usage Arguments Value Examples

Description

Convert from anybase to decimal

Usage

1
anyBaseToDecimal(value, symbols = LETTERS, zero_indexed = F)

Arguments

value

The starting value

symbols

A vector containing all of the symbols used in the origin place value system listed in sequential order.

zero_indexed

Logical. Set to TRUE if the first value in symbols represents 1, FALSE if 0.

Value

value converted to decimal

Examples

1
2
3
anyBaseToDecimal("A")
anyBaseToDecimal("ABC")
anyBaseToDecimal("FF", symbols = c(0:9, LETTERS[1:6]), zero_indexed=T) #hex to decimal

stevehoang/assayr documentation built on May 24, 2019, 7:20 a.m.