Skip to content
Prev 174438 / 398502 Next

How Can I Concatenate Every Row in a Data Frame with Every Other Row?

Try this:
a   b  c a.1 b.1 c.1
1   1 100 69   2  99  60
3   3  98 24   4  97  26
5   5  96 71   6  95  43
7   7  94 17   8  93  70
9   9  92 10  10  91  79
11 11  90 56  12  89  50

        
On Sat, Mar 21, 2009 at 12:01 PM, Donald Macnaughton <donmac at matstat.com> wrote: