Learn R Programming

drc (version 1.5-5)

MAX: Maximum mean response

Description

'MAX' estimates the maximum mean response and the dose at which it occurs.

Usage

MAX(object, upper = 1000, interval = c(1e-3, 1000))

Arguments

object
an object of class 'drc'.
upper
numeric. Upper limit for bisection method. Need to be larger than EDx level to be calculated.
interval
numeric vector of length 2 specifying the interval wherein the dose resulting in the maximum hormesis response is to be found.

Value

  • A matrix with one row per curve in the data set and two columns: one containing the dose at which the maximum occurs and one containing the corresponding maximum response.

Details

This function is only implemented for the built-in functions of class 'braincousens' and 'mlogistic'.

Examples

Run this code
lettuce.m1 <- drm(lettuce[,c(2,1)], fct=CRS.4c())
MAX(lettuce.m1)

Run the code above in your browser using DataLab