desirability: Quadratic desirability function.

View source: R/utility_functions.R

desirabilityR Documentation

Quadratic desirability function.

Description

desirability is the cost function used for optimization.

Usage

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::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 Feb. 6, 2025, 1:55 p.m.