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