Displaying 1 result from an estimated 1 matches for "tp4552952p4552952".
2012 Apr 12
1
Generate combination of strings
...'ASS','SUP')
maxspacer<-c(2,3)
for(x in 0:maxspacer[1]){
for(y in 0:maxspacer[2]){
combo<-c(objects[1],rep('',x),objects[2],rep('',y),objects[3])
print(combo)
}
}
--
View this message in context: http://r.789695.n4.nabble.com/Generate-combination-of-strings-tp4552952p4552952.html
Sent from the R help mailing list archive at Nabble.com.