desirability_overall: Overall desirability function.

Description Usage Arguments

View source: R/utility_functions.R

Description

desirability_overall is the cost function for optimization with more than one response variable. It is the weighted mean of the individual desirability functions.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
desirability_overall(
  factors,
  Target,
  w,
  nfact,
  xnam,
  tuner_rsm,
  Pred_min,
  Pred_max
)

Arguments

factors

Factors (tuning variables).

Target

Vector of the target values for each response.

w

Vector of weights for each response.

nfact

Number of factor values.

xnam

Formula names for rsm.

tuner_rsm

Second order model fit.

Pred_min

Vector of minimum values which can be reached by the model within the factor ranges for each response variable.

Pred_max

Vector of maximum value which can be reached by the model within the factor ranges for each response variable.


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