View source: R/utility_functions.R
desirability
is the cost function used for optimization.
1 2 3 4 5 6 7 8 9 10 11 12 13 | desirability(
factors,
Target,
w,
a,
b,
c,
nfact,
xnam,
tuner_rsm,
Pred_min,
Pred_max
)
|
factors |
Factors (tuning variables). |
Target |
Target value for the response. |
a |
Parameter of the quadratic desirability function, defaults to a = 0. |
b |
Parameter of the quadratic desirability function, defaults to b = 0.2. |
c |
Parameter of the quadratic desirability function, defaults to c = 0.8. |
nfact |
Number of factor values. |
xnam |
Formula names for |
tuner_rsm |
Second order model fit. |
Pred_min |
Minimum value which can be reached by the model within the factor ranges. |
Pred_max |
Maximum value which can be reached by the model within the factor ranges. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.