Mixture Response Optimization Routine
eff_response_opt.Rd
An internal factory function that returns a function with one input that can be optimized with respect to that input. The returned function computes the generalized concentration addition formula for the input set of chemicals and input concentrations.
Arguments
- hill_inverse_list
a list of the hill inverse functions with one function per chemical
- conc_vec
a vector of non-negative values with the same length as the hill_inverse_list
- synergy_const
a scaling term for synergy. Difficult to specify so it is not used and currently set to 0, implying no synergy.
- interval_sign
1 by default and can be set to -1. Used for chemicals with a negative sill. Details: For numerical stability around very small concentrations and responses, the output function exponentiates the input response, making it impossible to invert a negative response. If at least one chemical in the mixture has a negative sill, this parameter should be set to -1 to check if the optimal (predicted) response is negative.