plotDE: Plot Dose-Effect Experiments

Description Usage Arguments See Also Examples

View source: R/plotDE.R

Description

Plot dose-effect experiments on the arithmetic scale.

Usage

1
2
3
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

1
2
3
4
5
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)

JVAdams/LW1949 documentation built on May 7, 2019, 10:14 a.m.