Learn R Programming

yhat (version 2.0-4)

setBits: Decimal to Binary

Description

Creates the binary representation of n and stores it in the nth column of the matrix.

Usage

setBits(col, effectBitMap)

Value

Returns matrix effectBitMap of mean combinations in binary form.

Arguments

col

Column of matrix to represent in binary image

effectBitMap

Matrix of mean combinations in binary form

Author

Kim Nimon <kim.nimon@gmail.com>

Details

Creates the binary representation of col and stores it in its associated column.