[R] 2^k experiment generator

Giovanni Azua bravegag at gmail.com
Sun Nov 13 15:50:32 CET 2011


Never mind, found it, it is the expand.grid function.

On Nov 13, 2011, at 3:25 PM, Giovanni Azua wrote:
> Hello,
> 
> While looking for info on 2^k experimental design and anova I remember I saw somewhere there was a function to generate all the experiments.  I can't find the function anymore can anyone suggest?
> 
> The function takes as input the factors and levels and generates all the experiments. I know I can do it myself using recursion but I want to avoid 1) reinventing the wheel and 2) making mistakes while at it.
> 
> TIA,
> Best regards,
> Giovanni



More information about the R-help mailing list