Calibrate binomial assays, generalizing the calculation of LD50 based on a logistic regression model.

1 | ```
ld50.logitfit(rate, dose, p = 0.5)
``` |

`rate` |
A vector of percentages of successes among all trials. |

`dose` |
A vector of dosages. |

`p` |
Probabilities at which to predict the dose needed. |

Venables, W. N. and Ripley, B. D. (2002)
*Modern Applied Statistics with S.*
Springer.

1 2 3 4 | ```
ldose <- rep(0:5, 2)
rate <- c(1, 4, 9, 13, 18, 20, 0, 2, 6, 10, 12, 16)/20
ld50.logitfit(rate,ldose,p = 0.5)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.