[R] Convert decimal to binary data

Peter Wolf s-plus at wiwi.uni-bielefeld.de
Mon Sep 15 11:23:48 CEST 2003


Paul Delmar wrote:

>Hi,
> 
>I would like to convert a decimal into a binary number, for instance :
>2->(1,0)
> 
>Any one knows how to do that ?
> 
>Thanks a lot 
> 
>paul
>  
>
see chcode or encode that are defined in:

http://www.wiwi.uni-bielefeld.de/~wolf/software/R-wtools/decodeencode/decodeencode.rev

peter




More information about the R-help mailing list