Description Usage Arguments Value Author(s) Examples
View source: R/fdbk_asdataframe.R
Some feedback file attributes are integers that have to be transformed to a bit string in order to encode the feedback file report (e,g, flags or level_sig). This function takes the integers as input and a vector of bits and returns TRUE/FALSE if bit is part of the bit-converted integer The first bit is 0 (not 1), in agreement with the construction of feedback files.
1 | bitcheck(int, bits)
|
int |
a integer or a vector of integers that is converted to bits |
bits |
a bit or a vector of bits that might be contained in each int |
logical if bit is in the converted integer
Felix <felix.fundel@dwd.de>
1 2 3 | bitcheck(1:100,0)
DT = data.table(flags=1:10)
DT[bitcheck(flags,0)]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.