Dear Glenn,
Try this:


# Your example
choose(7,4)        # 35
require(forward)
fwd.combn(7,4)  # a 4x35 matrix

# Other possibilities
sapply(4:10,function(x) choose(x,4))
sapply(4:10,function(x) fwd.combn(x,4))


HTH,

Jorge



On Sun, Jan 18, 2009 at 6:06 PM, glenn <g1enn.roberts@btinternet.com> wrote:

> Hi All, some help on this would be appreciated;
>
> Understood combinations(7,4) returns all the possible 4 part combinations
> out of 7. Is is possible to substitute the ³7² for a list of stuff you
> would
> like to see the mix of; c(³a²,...,²g²) say ?
>
> Thanks
>
> Glenn
>
>        [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help@r-project.org 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.
>
>

	[[alternative HTML version deleted]]


