[R] 2k-factorial design with 10 parameters

Bob Wheeler bwheeler at echip.com
Tue Nov 30 17:41:39 CET 2004



> On Tue, 30 Nov 2004, Sven wrote:
> 
>> I'd like to apply a 2^k factorial design with k=10 parameters. 
>> Obviously this results in a quite long term for the model equation due 
>> to the high number of combinations of parameters.
>>
>> How can I specify the equation for the linear model (lm) without 
>> writing all combinations explicitly down by hand? Does a R command 
>> exist for this problematic?
> 

Use expand.formula() in the AlgDesign package.

-- 
Bob Wheeler --- http://www.bobwheeler.com/
         ECHIP, Inc. ---
Randomness comes in bunches.




More information about the R-help mailing list