desirability: Quadratic desirability function.

Description Usage Arguments

View source: R/utility_functions.R

Description

desirability is the cost function used for optimization.

Usage

 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
)

Arguments

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 rsm.

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.


pasturm/SIMIONtuneR documentation built on Dec. 29, 2020, 2:41 a.m.