calc.ed {eadrm}R Documentation

Finds the dose that corresponds to a particular level of the response

Description

Calculates the concentration that induces a particular level of the response.

Usage

calc.ed(eadrm.obj, response, ci.obj = NULL)

Arguments

eadrm.obj

Fitted eadrm model object.

response

The desired response level.

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 specified response. Otherwise returns a list of three values ed.med, ed.l95, and ed.u95, which correspond to the median concentration and the corresponding lower/upper 95% confidence bounds.

See Also

eadrm, eadrm.ci

Examples

ea.fit <- eadrm(CarboA$y, CarboA$x)
calc.ec(ea.fit)

[Package eadrm version 0.1.4 Index]