Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

Non-redundant version of expand.grid

outer( c("aa", "ab", "cc"), c("aa", "ab", "cc") , "paste" )

vals <- c( c("aa", "ab", "cc"), c("aa", "ab", "cc") )
vals <- unique( vals )
combn( vals , 2 )
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #version
ADD COMMENT
Topic
Name
1+4 =