calc.ec {eadrm} | R Documentation |
Calculates EC50 (or some other specified EC value)
Description
Calculates the concentration that induces a response corresponding to a specific proportion between the baseline and maximum. It is most commonly used to compute EC50.
Usage
calc.ec(eadrm.obj, ec.in = 0.5, ci.obj = NULL)
Arguments
eadrm.obj |
Fitted eadrm model object. |
ec.in |
A value between 0 and 1 corresponding to the desired proportion. Defaults to 0.5, in which case EC50 is computed. |
ci.obj |
Output from eadrm.ci that is used to compute confidence intervals. Defaults to NULL, in which case no confidence intervals are computed. |
Value
If no confidence intervals are requested, it returns the concentration corresponding to the requested proportion. Otherwise returns a list of three values ec.med, ec.l95, and ec.u95, which correspond to the median concentration and the corresponding lower/upper 95% confidence bounds.
See Also
Examples
ea.fit <- eadrm(CarboA$y, CarboA$x)
calc.ec(ea.fit)
[Package eadrm version 0.1.4 Index]