Usage
## S3 method for class 'drc':
ED(object, respLev, bound = TRUE, od = FALSE, ci = c("none", "delta", "fls", "tfls"),
level = ifelse(!(ci=="none"), 0.95, NULL), logBase = NULL,
reference = c("control", "upper"), type = c("relative", "absolute"),
display = TRUE, ...)
## S3 method for class 'mrdrc':
ED(object, respLev, level = 0.95, interval = c("none", "approximate", "bootstrap"),
method = c("bisection", "grid"), cgridsize = 20, gridsize = 100, display = TRUE, lower, upper,
intType = c("confidence", "prediction"), minmax = c("response", "dose"), n = 1000, seedVal = 200810311, ...)
Arguments
object
an object of class 'drc'.
respLev
a numeric vector containing the response levels.
bound
logical. If TRUE only ED values between 0 and 100% are allowed. FALSE is useful for hormesis models.
od
logical. If TRUE adjustment for over-dispersion is used.
ci
character string specifying the type of confidence intervals to be supplied. The default is "none".
Use "delta" for asymptotics-based confidence intervals (using the delta method and the t-distribution).
Use "fls" for from logarithm scale based con
level
numeric. The level for the confidence intervals. The default is 0.95.
logBase
numeric. The base of the logarithm in case logarithm transformed dose values are used.
reference
character string. Is the upper limit or the control level the reference?
type
character string. Whether the specified response levels are absolute or relative (default).
display
logical. If TRUE results are displayed. Otherwise they are not (useful in simulations).
interval
character string specifying the type of confidence intervals to be supplied. The default is "none".
The only alternative for model-robust fits is using inverse regression.
method
character string specifying if bisection or grid search should be used to determine ED estimates.
Grid search may give better results for ED level close to the boundaries of the dose range or in case of
a non-monotonous dose-response curves. The bis
cgridsize
numeric specifying the number of grid points in the initial grid used for both bisection and grid
search to narrow down the interval where the ED estimate is to be found.
gridsize
numeric specifying the number of grid points in the second finer grid search.
lower
numeric value specifying the lower reference limit.
upper
numeric specifying the upper reference limit.
intType
character string specifying whether confidence or prediction intervals are requested.
minmax
character string indicating if the control level should be based on the the minimum dose or the maximum
response. The latter is more suitable for dose-response data showing hormesis.
n
numeric specifying the number of simulations for the bootstrap confidence intervals.
seedVal
numeric giving the seed for the random number generator used for the bootstrap confidence intervals.
...
further arguments (none at the moment).