Learn R Programming

miscFuncs (version 1.5-9)

bin: bin function

Description

A function to convert decimal to binary

Usage

bin(n)

Value

the binary representation stored in a vector.

Arguments

n

a non-negative integer