An R6 class representing a factor in a design of experiments (DOE).
low
Numeric value specifying the lower bound of the factor. Default is `-1`.
high
Numeric value specifying the upper bound of the factor. Default is `1`.
name
Character string specifying the name of the factor. Default is an empty string ``
.
unit
Character string specifying the unit of measurement for the factor. Default is an empty string ``
.
type
Character string specifying the type of the factor. Can be either `numeric`
or `categorical`
. Default is `numeric`
.
.low()
Get and set the lower bound for the factor.
doeFactor$.low(value)
value
Numeric value to set as the lower bound. If missing, the current lower bound is returned.
.high()
Get and set the upper bound for the factor.
doeFactor$.high(value)
value
Numeric value to set as the upper bound. If missing, the current upper bound is returned.
.type()
Get and set the type of the factor.
doeFactor$.type(value)
value
Character string specifying the type of the factor. Can be `"numeric"` or `"categorical"`. If missing, the current type is returned.
.unit()
Get and set the unit of measurement for the factor.
doeFactor$.unit(value)
value
Character string specifying the unit of measurement. If missing, the current unit is returned.
value
Character string specifying the name of the factor. If missing, the current name is returned.
clone()
The objects of this class are cloneable with this method.
doeFactor$clone(deep = FALSE)
deep
Whether to make a deep clone.
taguchiFactor