addDesignPoint

fun addDesignPoint(values: DoubleArray, numReps: Int = 1, enforceRange: Boolean = true): DesignPoint

Creates a design point and adds it to the design.

Parameters

values

the values to assign to the factors, ordered by factor name

numReps

the number of replications for the design point, must be more than 0

enforceRange

true indicates if the range limits of the factor are used in the validation check. Not enforcing the range check allows settings that may be out of range limits for the factors. The default is true.


fun addDesignPoint(settings: Map<Factor, Double>, numReps: Int = 1, enforceRange: Boolean = true): DesignPoint

Creates a design point and adds it to the design.

Parameters

settings

the factors in the settings must be in the design

numReps

the number of replications for the design point, must be more than 0

enforceRange

true indicates if the range limits of the factor are used in the validation check. Not enforcing the range check allows settings that may be out of range limits for the factors. The default is true.