Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

no redundant combination expand grid

outer( c("aa", "ab", "cc"), c("aa", "ab", "cc") , "paste" )
#     [,1]    [,2]    [,3]   
#[1,] "aa aa" "aa ab" "aa cc"
#[2,] "ab aa" "ab ab" "ab cc"
#[3,] "cc aa" "cc ab" "cc cc"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #redundant #combination #expand #grid
ADD COMMENT
Topic
Name
3+9 =