concRespPlot {tcplfit2} | R Documentation |
Concentration Response Plot
Description
Plots a concentration response curve for one sample/endpoint combination. This is a generic function and it is expected that users will make their own versions
Usage
concRespPlot(row, ymin = -120, ymax = 120, draw.error.arrows = FALSE)
Arguments
row |
Named list containing:
Other elements are ignored. |
ymin |
Minimum value of response for the plot |
ymax |
Maximum value of response for the plot |
draw.error.arrows |
If TRUE, draw lines representing the uncertainty in the response estimate, instead of the actual response points |
Details
row is one row of data from concRespCore
Value
No output.
Examples
conc <- list(.03, .1, .3, 1, 3, 10, 30, 100)
resp <- list(0, .2, .1, .4, .7, .9, .6, 1.2)
row <- list(conc = conc,
resp = resp,
bmed = 0,
cutoff = 0.25,
onesd = 0.125,
name = "some chemical",
assay = "some assay")
res <- concRespCore(row, conthits = TRUE)
concRespPlot(res,ymin=-2.5,ymax=2.,5)