fitHand function

Best Fit Using Estimated Expected Effects

Best Fit Using Estimated Expected Effects

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

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.

Returns

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)
  • Maintainer: Jean V. Adams
  • License: GPL
  • Last published: 2017-03-20