plotDE {LW1949}R Documentation

Plot Dose-Effect Experiments

Description

Plot dose-effect experiments on the arithmetic scale.

Usage

plotDE(DEdata, xlab = "Dose", ylab = "Affected  (%)",
  xlim = range(DEdata$dose, na.rm = TRUE), ylim = c(0, 100), ref = c(0,
  50, 100), ...)

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.

ref

A numeric vector specifying horizontal reference lines to be added to the plot, default c(0, 50, 100).

...

Additional arguments to plot.

See Also

predLines, plotDELP, predLinesLP

Examples

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)
plotDE(mydat)

[Package LW1949 version 1.1.0 Index]