An R6 class representing a factor in a Plackett-Burman design.
valuesA vector containing the levels or values associated with the factor. Default is NA.
nameA character string specifying the name of the factor. Default is an empty string ``.
unitA character string specifying the unit of measurement for the factor. Default is an empty string ``.
typeA character string specifying the type of the factor, which can be either `numeric` or `categorical`. Default is `numeric`.
.values()Get and set the values for the factors in an object of class pbFactor.
pbFactor$.values(value)valueNew values, If missing value get the values.
.unit()Get and set the units for the factors in an object of class pbFactor.
pbFactor$.unit(value)valueNew unit, If missing value get the units.
valueNew names, If missing value get the names.
clone()The objects of this class are cloneable with this method.
pbFactor$clone(deep = FALSE)deepWhether to make a deep clone.