How to use a variable in JSL to set the levels of a DOE factor?
I'm trying to add a factor to a DOE using a variable instead of hard coding the levels. The end goal is to provide the user with a simple interface set the levels for one of the factors. The following code doesn't work and the factor just ends up with L1 and L2 as levels. Names Default To Here( 1 );
levels = List(1,2,3);
d = DOE(
Custom Design,
Add factor(Discrete Numeric, levels)
);
d << Make
...