bin2dec {baker}R Documentation

Convert a 0/1 binary-coded sequence into decimal digits

Description

Useful when try to list all the binary patterns. One can group the binary sequences according to their equivalent decimal values.

Usage

bin2dec(binary_vector)

Arguments

binary_vector

a binary number

Value

a decimal number

Examples


bin2dec(c(1,0,1))


[Package baker version 1.0.3 Index]