Re: [R] How to make a cartesian pairlist from a vector?

2009-11-23 Thread newbyr
This is very helpful. Thank you very much. Charles C. Berry wrote: > > On Fri, 20 Nov 2009, newbyr wrote: > >> >> Hi, >> >> I'm looking for a function that will take a list of columns or data.frame >> and corvert it to cartesian pairlist. For example for this data.frame >> (see >> below), I'd

Re: [R] How to make a cartesian pairlist from a vector?

2009-11-20 Thread Charles C. Berry
On Fri, 20 Nov 2009, newbyr wrote: Hi, I'm looking for a function that will take a list of columns or data.frame and corvert it to cartesian pairlist. For example for this data.frame (see below), I'd like to get a list of all possible pairs: sound cs rs ns 7 5 2 4 5 4 6 3 1 8 4

[R] How to make a cartesian pairlist from a vector?

2009-11-20 Thread newbyr
Hi, I'm looking for a function that will take a list of columns or data.frame and corvert it to cartesian pairlist. For example for this data.frame (see below), I'd like to get a list of all possible pairs: > sound cs rs ns 7 5 2 4 5 4 6 3 1 8 4 1 6 4 2 6 7 1