Description Usage Arguments Details Value See Also Examples
Decodes data encoded by encodeSlof
The return will include exactly (|data| - 8) / 2 doubles.
1 |
data |
pointer to array of bytes to be decoded (need memorycont. repr.) |
Note that this method may throw a const char* if it deems the input data to be corrupt.
the number of decoded doubles
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
## Intensity array to encode
### NOTE: For the sake of this example, I have broken the intensity vector into several parts
### to avoid Rd line widths (>100 characters) issues with CRAN build checks.
int_array1 <- c(0.71773432, 0.43443741, 1.71883610, 0.13220307, 0.90664242)
int_array2 <- c(0.00000000, 0.00000000, 0.64213755, 0.43443741, 0.47221479)
## Comcatenate into one intensity array
int_array <- c(int_array1, int_array2)
## Encode intensity array using encodeSlof
int_encode <- encodeSlof( int_array, 16 )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.