View source: R/3.3_Factorial_designs_Functions.R
simProc | R Documentation |
This is a function to simulate a black box process for teaching the use of designed experiments. The optimal factor settings can be found using a sequential assembly strategy i.e. apply a 2^k factorial design first, calculate the path of the steepest ascent, again apply a 2^k factorial design and augment a star portion to find the optimal factor settings. Of course, other strategies are possible.
simProc(x1, x2, x3, noise = TRUE)
x1 |
numeric vector containing the values for factor 1. |
x2 |
numeric vector containing the values for factor 2. |
x3 |
numeric vector containing the values for factor 3. |
noise |
logical value deciding whether noise should be added or not. Default setting is |
simProc
returns a numeric value within the range [0,1].
simProc(120, 140, 1)
simProc(120, 220, 1)
simProc(160, 140, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.