to.base.Misc: Convert number to a numeric vector of a given base

Description Usage Arguments Value Author(s) See Also Examples

Description

Convert number to a numeric vector of a given base.

Usage

1
2
3
4
5
6
## 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

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


Search within the IdMappingAnalysis package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.