calcM {adana}R Documentation

Calculate the number of bits in the binary representation of the integer vector

Description

The function CalcM calculates the number of bits in the binary representation of the integer vector

Usage

calcM(ub, ...)

Arguments

ub

A vector containing upper bounds

...

Further arguments passed to or from other methods.

Details

This function uses the upper bounds of the integer vector to calculate the number of bits in the binary representation of an integer vector.

Value

A vector of the numbers of bits for binary representation of an integer vector.

Author(s)

Zeynel Cebeci & Erkut Tekeli

See Also

encode4int

Examples

ub = c(10, 10, 10)
calcM(ub)

[Package adana version 1.1.0 Index]