Misc$to.base {IdMappingAnalysis} | R Documentation

## Convert number to a numeric vector of a given base

### Description

Convert number to a numeric vector of a given base.

### Usage

    ## Static method (use this):
    ## Misc$to.base(n, base=2, r=TRUE, ...)

    ## Don't use the below:
    ## S3 method for class 'Misc'
    to.base(static, n, base=2, r=TRUE, ...)

### Arguments

`n` | Number to convert.
`base` | Base to use for a conversion. Default is 2.
`r` | Order of the output nnumbers If r=TRUE then big-endian otherwise small-endian. Default is `TRUE`.
`...` | Not used

### Value

`numeric` vector of a given base.

### Author(s)

Alex Lisovich, Roger Day

### See Also

For more information see `Misc`.

### Examples

     b<-Misc$to.base(25);

[Package IdMappingAnalysis version 1.28.0 Index]