R: Take integer, represent in binary, then think of and return...

c2to4 {wavethresh} | R Documentation

## Take integer, represent in binary, then think of and return that representation in base 4

### Description

Not designed, or really useful, for casual user use!

For example: take the integer 5. In binary this is 101. Then, this representation in base 4 is 16+1 =17.

This function is used by `accessD.wpst` to help it access coefficients.

### Usage

    c2to4(index)

### Arguments

`index` | The integer you wish to convert

### Details

Description says all

### Value

The converted number

### Author(s)

G P Nason

### See Also

`accessD.wpst`

### Examples

    c2to4(5)

[Package wavethresh version 4.6.8 Index]