[R] balanced design package?

Jim Lemon jim at bitwrit.com.au
Wed Nov 20 23:33:40 CET 2013


On 11/21/2013 08:41 AM, Dimitri Liakhovitski wrote:
> Dear everybody,
>
> I have 20 levels of a factor.
> I want to create 1000 combinations of 6 different levels of that factor so
> that each level is repeated about the same number of times (across 100
> combinations) and so that the number of times level X is combined with
> level Y is also about the same (across 1000 combinations).
> So, it's an experimental design question.
> I don't think I can use algDesign for that.
>
Hi Dimitri,
This is but a guess, but might help:

combn(20,6)[,seq(1,38000,by=38)]

Jim



More information about the R-help mailing list