This function aims to provide a more accurate integration routine than the integrate() function
for a partially constant function.
getIntegralWithConstants(constant, design)Integral over the partially constant function.
Current value of the level constant for the optimal conditional error function, internally used as integral argument.
An object of class TrialDesignOptimalConditionalError created by getDesignOptimalConditionalErrorFunction(). Contains all necessary arguments to calculate the optimal conditional error function for the specified case.