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)
> >
>
?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
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
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
4 matches
Mail list logo