emax_inv {tci} | R Documentation |
Inverse Emax function
Description
Inverse Emax function to return effect-site concentrations required to reach target effect.
Usage
emax_inv(pdresp, pars)
Arguments
pdresp |
PD response values |
pars |
Named vector of parameter values with names (c50,gamma,E0,Emx). |
Value
Numeric vector of same length as pdresp.
Examples
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)
[Package tci version 0.2.0 Index]