Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

r get all pairwise combinations

x = c(1,2,3,4,5)    
apply(combn(x,2),2,paste,collapse='_')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pairwise #combinations
ADD COMMENT
Topic
Name
6+8 =