Hello,
I would like to create a script, where based on some previous input variable, the DOE[] object is messaged to work with one additional factor.
The DOE design generation is now heavy to run (about a 30sec), so I am looking for a lean way (e.g. tweak it before sending the 'make design' message).
Ideally i would like to work with an if clause, checking if a said boolean variable is true and if so add the factor to the custom design.
Some 'pseudocode':
AddSpecialFactor = 1; /* decision rule to add factor, will be retrieved from a modal window based on some more complex molecule chemistry input */
D = DOE(
custom design,
Add Factor(continuous, "A",.....),
Add Factor( ...),
..
If (AddSpecialFactor = 1) then Add Factor(....),
Add Term(),
..
If (AddSpecialFactor = 1) then Add Term() ...,
All suggestions are more than welcome