Learn R Programming

LW1949 (version 1.0.0)

plotDELP: Plot Dose-Effect Experiments

Description

Plot dose-effect experiments on the log10-probit scale.

Usage

plotDELP(DEdata, xlab = "Dose", ylab = "Affected (%)", xlim = range(DEdata$dose[DEdata$dose > 0], na.rm = TRUE), ylim = c(0.1, 99.9), ...)

Arguments

DEdata
A data frame of dose-effect data (typically, the output from dataprep) containing at least five variables: dose, pfx, log10dose, bitpfx, fxcateg.
xlab
A character scalar, the title for the dose (x) axis, default "Dose".
ylab
A character scalar, the title for the affected (y) axis, default "Affected (%)".
xlim
A numeric vector of length two giving the x coordinate range for dose, default range(DEdata$dose, na.rm=TRUE).
ylim
A numeric vector of length two giving the y coordinate range for affected (%), default c(0.1, 99.9). Observed effects beyond this range will be plotted at the limits of this range using an open symbol.
...
Additional arguments to plot.

See Also

predLinesLP, plotDE, predLines

Examples

Run this code
dose <- c(0.0625, 0.125, 0.25, 0.5, 1)
ntested <- rep(8, 5)
nalive <- c(1, 4, 4, 7, 8)
mydat <- dataprep(dose=dose, ntot=ntested, nfx=nalive)
plotDELP(mydat)

Run the code above in your browser using DataLab