Usage
"dMax"(low, high, scale = 1, tol = NULL, ...)
"dMin"(low, high, scale = 1, tol = NULL, ...)
"dTarget"(low, target, high, lowScale = 1, highScale = 1, tol = NULL, ...)
"dArb"(x, d, tol = NULL, ...)
"dBox"(low, high, tol = NULL, ...)
"dCategorical"(values, tol = NULL, ...)
"dOverall"(...)
Arguments
low
a constant to define the desirability function for dMax
, dMin
, dTarget
and dBox
high
a constant to define the desirability function for dMax
, dMin
, dTarget
and dBox
target
a constant to define the desirability function for dMax
, dMin
, dTarget
and dBox
scale
the scaling factor for dMax
and dMin
. Values less than one make the criteria more difficult to satisfy while values greater than one make it easier.
lowScale
the scaling factor for dTarget
. This bends the curve between the points low
and target
. Values less than one make the criteria more difficult to satisfy while values greater than one make it easier.
highScale
the scaling factor for dTarget
. This bends the curve between the points high
and target
. Values less than one make the criteria more difficult to satisfy while values greater than one make it easier.
d
a set of desirabilites between zero and one (inclusive) that match the length of x
values
a named numeric vector of possible values
tol
an optional tolerance for zero desirability. When this is non-null, zero desirabilites are replaced with this value
...
For dOverall
, this is one or more desirability objects. For the other methods, this argument is not currently used