Description Usage Arguments Details Value Author(s) References Examples
Analyses bits of a 16-bit integer
1 | analyzeBits(value, mode=1, bitpos=0)
|
value |
A 16-bit integer value |
mode |
If mode is 0, the algorithm returns the bit on position ‘bitpos’. If mode is 1 (default), the algorithm returns the most significant bit, if mode is 2 it returns the second significant bit and if mode is 3 the return value is the integer value of the last four bits |
bitpos |
An integer value between 0 and 15 determining the position of the bit to read when mode is 0. |
This routine analyses 16-bit integer values to get the indicators of MEDOKADS data
An integer value respective to parameter ‘mode’.
Daniel Doktor, Maximilian Lange
Koslowsky, D., Billing, H. and Friedrich, K. (2005): MEDOKADS: A long-term data set for detection and monitoring for desertification risks in the mediterranean. In RGLDD Conference.
1 2 3 | value <- -32768
res <- analyzeBits(value, mode=3)
res
|
[1] 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.