Dear all,



This is something for the combinatorics freaks amongst you (which I am certainly not :-).



I do the following problem to solve and was wondering if this can be easily done using R:



I have a set of, let's say, 10 variables: n(varibale) = 10

e.g. var <- c(a,b,c,d,e,f,g,h,i,j)



per experiment, I want to pick 4 variables

e.g. exp1 <- c(a,b,c,d), exp2 <- c(e,f,g,h), ...



each variable should be present in 4 different experiments



each varibale may co-occur in max. 2 experiments with another variable



Questions:



1) What is the number of minimal experiments that all of the above prerequisites are met?

2) Report a list of the combinations



It would be great to have a script that is flexible for all prerequisites.



Thanks a lot already in advance!



Nina





The Radboud University Medical Centre is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.


	[[alternative HTML version deleted]]

