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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to