Re: [R] Create combinations of rows

2011-10-05 Thread darkgaze
Great, thanks a lot! Don On Wed, Oct 5, 2011 at 2:42 AM, Enrico Schumann [via R] < ml-node+s789695n3873597...@n4.nabble.com> wrote: > ?expand.grid > > Am 05.10.2011 00:21, schrieb darkgaze: > > > I don't quite know how to word what I want, but if I have > > > > (1, 2, 3); (a, b, c); (x, y) > > >

Re: [R] Create combinations of rows

2011-10-04 Thread Enrico Schumann
?expand.grid Am 05.10.2011 00:21, schrieb darkgaze: I don't quite know how to word what I want, but if I have (1, 2, 3); (a, b, c); (x, y) I want: 1 a x 1 b x 1 c x 1 a y 1 b y 1 c y 2 a ... and so forth What is the appropriate command? Best, Don -- View this message in context: http://r

Re: [R] Create combinations of rows

2011-10-04 Thread Peter Alspach
Tena koe Don ?expand.grid HTH Peter Alspach > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of darkgaze > Sent: Wednesday, 5 October 2011 11:21 a.m. > To: r-help@r-project.org > Subject: [R] Create co

[R] Create combinations of rows

2011-10-04 Thread darkgaze
I don't quite know how to word what I want, but if I have (1, 2, 3); (a, b, c); (x, y) I want: 1 a x 1 b x 1 c x 1 a y 1 b y 1 c y 2 a ... and so forth What is the appropriate command? Best, Don -- View this message in context: http://r.789695.n4.nabble.com/Create-combinations-of-rows-tp387