Great, thanks a lot! Don
On Wed, Oct 5, 2011 at 2:42 AM, Enrico Schumann [via R] < [email protected]> 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) > > > > 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-tp3872641p3872641.html > > Sent from the R help mailing list archive at Nabble.com. > > > > ______________________________________________ > > [hidden email] > > <http://user/SendEmail.jtp?type=node&node=3873597&i=0>mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > -- > Enrico Schumann > Lucerne, Switzerland > http://nmof.net/ > > ______________________________________________ > [hidden email] <http://user/SendEmail.jtp?type=node&node=3873597&i=1>mailing > list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://r.789695.n4.nabble.com/Create-combinations-of-rows-tp3872641p3873597.html > To unsubscribe from Create combinations of rows, click > here<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3872641&code=ZG9uYWxkbmd3ZUBnbWFpbC5jb218Mzg3MjY0MXwtMjM5NzU1MTIy>. > > -- View this message in context: http://r.789695.n4.nabble.com/Create-combinations-of-rows-tp3872641p3874713.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

