Skip to content

2^k experiment generator

3 messages · Giovanni Azua, Bryan Hanson

#
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
#
Check out the Task View on Experimental Design:

http://cran.at.r-project.org/web/views/ExperimentalDesign.html

but perhaps packages rsm or qualityTools have what you want.

Bryan
***********
Bryan Hanson
Professor of Chemistry & Biochemistry
DePauw University
On Nov 13, 2011, at 9:25 AM, Giovanni Azua wrote:

            
#
Never mind, found it, it is the expand.grid function.
On Nov 13, 2011, at 3:25 PM, Giovanni Azua wrote: