search for: nkpartit

Displaying 4 results from an estimated 4 matches for "nkpartit".

Did you mean: partit
2005 Dec 08
3
Finding all possible partitions of N units into k classes
Dear useRs! I would like to generate a list of all possible (unique) partitions of N units into k classes. For example, all possible partitions of 4 units into 2 classes are (I hope I have not missed anyone): 1,1,1,2 (this can be read as {1,2,3},{4}) 1,1,2,1 1,2,1,1 2,1,1,1 1,1,2,2 1,2,1,2 1,2,2,1 The partitions 1,1,2,2 and 2,2,1,1 are the same and are therefore not two unique
2006 Mar 03
1
Problem with creating links ("see also" section) in help files.
A link in one of my help files does not work. I have in this help file: \seealso{\code{\link{crit.fun}}, \code{\link{opt.par}}, \code{\link{opt.random.par}}, \code{\link{opt.these.par}}, \code{\link{nkpartitions}}, \code{\link{nkpar}}, \code{\link{plot.check.these.par}} } Everything in one row, the last link does not work. In another help file, I have: \name{plot.mat} \alias{plot.mat} \alias{plot.crit.fun} \alias{plot.opt.par} \alias{plot.opt.par.mode} \alias{plot.opt.more.par} \alias{plot.opt.more....
2006 Mar 13
1
Building help pages
...text html latex example find.m text html latex formatA text html latex example fun.by.blocks text html latex example gplot1 text html latex nkpartitions text html latex example opt.par text html latex example opt.random.par text html latex example plot.mat text html latex example rand te...
2006 Dec 13
1
combinations of m objects into r groups
Hi! Suppose I have m objects. I need to find out what are all possible ways I can group those m objects into r groups. Moreover, I need to create a matrix that contains what those arrangements are. I've created code for when r=2 but I've come to a halt when trying to generalize it into r groups. For example, if I have m=6 objects and I want to arrange them into groups of r=2, there