[R] Listing subsets

Alec Stephenson astephen at efs.mq.edu.au
Mon Aug 2 05:12:23 CEST 2004


See Programmer's Niche in Volume 1/1 of R News


Alec Stephenson                                               
Department of Statistics
Macquarie University
NSW 2109, Australia 

>>> <maj at stats.waikato.ac.nz> 08/01/04 09:40am >>>
How best may I form a list containing all choose(n,k) k-element subsets
of
a vector x of length n? (and for subsequences?)

Murray Jorgensen

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help 
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html




More information about the R-help mailing list