Fitting Multiple Logistic Regression with Interaction between Quantitative and Qualitative Explanatory Variables with drm function from drc package
问题 As a follow up to this question answered by @EDi. I wonder how to fit the following glm model with drc function from drc package. GLM Code Type <- rep(x=LETTERS[1:3], each=5, times=2) Conc <- rep(rep(x=seq(from=0, to=40, by=10), times=3), 2) Rep <- factor(rep(x=1:2, each=15)) Total <- 50 Kill <- c( 10, 30, 40, 45, 38, 5, 25, 35, 40, 32, 0, 32, 38, 47, 40, 11, 33, 38, 43, 36, 4, 23, 34, 42, 34, 2, 35, 39, 46, 42 ) df <- data.frame(Type, Conc, Rep, Total, Kill) fm1 <- glm( formula = Kill/Total