bin2dec {BiCausality}R Documentation

bin2dec function

Description

This function convertes a binary vector into its decimal value.

Usage

bin2dec(X)

Arguments

X

is a binary vector where X[i] is the ith bit of vector.

Value

This function returns a decimal value of X.

Examples

bin2dec(X=c(1,1,1,0))


[Package BiCausality version 0.1.4 Index]