Re: [R] Regression lines for differently-sized groups on the same plot

2005-07-20 Thread Laura M Marx
Sundar Dorai-Raj writes: Hi, Laura, Would ?predict.glm be better? plot(logarea, hempresence, xlab = Surface area of log (m2), ylab=Probability of hemlock seedling presence, type=n, font.lab=2, cex.lab=1.5, axes=TRUE) lines(logarea, predict(hemhem, logreg, response),

[R] Regression lines for differently-sized groups on the same plot

2005-07-19 Thread Laura M Marx
Hi there, I've looked through the very helpful advice about adding fitted lines to plots in the r-help archive, and can't find a post where someone has offered a solution for my specific problem. I need to plot logistic regression fits from three differently-sized data subsets on a plot of