fitHand {LW1949}R Documentation

Best Fit Using Estimated Expected Effects

Description

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

Usage

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

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)

[Package LW1949 version 1.1.0 Index]