powered by
Calibrate binomial assays, generalizing the calculation of LD50 based on a logistic regression model.
ld50.logitfit(rate, dose, p = 0.5)
A vector of percentages of successes among all trials.
A vector of dosages.
Probabilities at which to predict the dose needed.
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Springer.
# NOT RUN { 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) # }
Run the code above in your browser using DataLab