Skip to content

A question on getting all possible combinations

3 messages · Megh Dal, Benilton Carvalho, Wolfgang Huber

#
target = c("u", "d")
apply(expand.grid(rep(list(target), 6)), 1, paste, sep="", collapse="")

b
On Mar 1, 2008, at 9:13 AM, Megh Dal wrote:

            
#
library("R.utils")
intToBin(0:63)

Best wishes
  Wolfgang

------------------------------------------------------------------
Wolfgang Huber  EBI/EMBL  Cambridge UK  http://www.ebi.ac.uk/huber


Benilton Carvalho scripsit: