fitHand: Best Fit Using Estimated Expected Effects

Description Usage Arguments Value Examples

Description

Use simple linear regression to describe a hand draw line fit to a dose-effect experiment.

Usage

1
fitHand(handDose, handPct)

Arguments

handDose

A numeric vector of doses for which expected effects are estimated from a hand drawn line, must have at least two unique values.

handPct

A numeric vector of the expected percent affected corresponding to (and the same length as) handDose.

Value

A numeric vector of length two, the estimated intercept and slope of the dose-response curve on the log10-probit scale,

Examples

1
2
3
d <- c(0.0625, 0.125, 0.25, 0.5, 1)
p <- c(9.5, 34, 67, 90.5, 98.6)
fitHand(handDose=d, handPct=p)

LW1949 documentation built on May 2, 2019, 6:11 a.m.