powered by
Inverse Emax function to return effect-site concentrations required to reach target effect.
emax_inv(pdresp, pars)
Numeric vector of same length as pdresp.
PD response values
Named vector of parameter values with names (c50,gamma,E0,Emx).
pars_emax <- c(c50 = 1.5, gamma = 4, e0 = 100, emx = 100) ce_seq <- seq(0,4,0.1) all.equal(emax_inv(emax(ce_seq, pars_emax), pars_emax), ce_seq)
Run the code above in your browser using DataLab