setBits: Decimal to Binary

View source: R/setBits.R

setBitsR Documentation

Decimal to Binary

Description

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

Usage

  setBits(col, effectBitMap)

Arguments

col

Column of matrix to represent in binary image

effectBitMap

Matrix of mean combinations in binary form

Details

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

Value

Returns matrix effectBitMap of mean combinations in binary form.

Note

This function is internal to commonalityCoefficients, called during runtime and passed the appropriate parameters. This is not an end-user function.

Author(s)

Kim Nimon <kim.nimon@gmail.com>


yhat documentation built on Oct. 11, 2023, 1:08 a.m.