ARGUMENT_ARRAY | An array of integers containing either three or four values. The first value is the type of algorithm to use to create the matrix. Use these numbers in the first entry of the array: ■0 - Casewise ■1 - Central Composite ■2 - Box-Behnken ■3 - Full Factorial The second entry in the array indicates the number of variables that are to be used for the DOE. The third entry indicates the number of levels on each variable. The fourth entry indicates whether you want the data centered or 1-based. Centered data is what the SIMULATION and OPTIMIZE commands require, but 1-based can be useful if you are writing your own DOE loop using the FOR command. A value of one indicates that the data should be centered, and a value of zero indicates that it should be 1-based. If the fifth entry does not exist, then the result of the function is a complete DOE matrix, which will have nTrials rows and nVariables columns. If you enter zero as the fifth array value, then the result of the function is just the number of trials in that DOE matrix. Any other value indicates that just that row of the matrix is to be returned. |