predLines: Add Litchfield and Wilcoxon Predictions to a Plot

Description Usage Arguments Value See Also Examples

View source: R/predLines.R

Description

Add predictions from a Litchfield and Wilcoxon model fit to a plot of the results of a dose-effect experiment on the arithmetic scale.

Usage

1
predLines(fit, ...)

Arguments

fit

A list of length three containing the result of a Litchfield and Wilcoxon model fit, typically the output from LWestimate.

...

Additional arguments to lines.

Value

A solid fitted line is added to the plot. Dashed lines are added to the plot representing the horizontal 95% confidence intervals for the predicted dose to elicit a given percent affected.

See Also

plotDE, plotDELP, predLinesLP

Examples

1
2
3
4
5
6
7
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)
myfit <- LWestimate(fitLWauto(mydat), mydat)
predLines(myfit)

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