Learn R Programming

wvtool (version 1.0)

dec2bin: Decimal to Binary Convertion

Description

A function returns binary number from decimal number. The function is internally used in lbp function.

Usage

dec2bin(x, digit=8)

Arguments

x
A decimal integer.
digit
A length of binary sequence.

Value

A binary number in array.

See Also

bin2dec, lbp