No, this is related to my own data. Yes, 'fflies' the dataset - here I am working with two columns: # of fruit flies alive vs # of days these flies are alive.
There is no error, it's just that the best-fit line does not plot nicely on top of my data (see figure attached). http://r.789695.n4.nabble.com/file/n4530804/fflies1.jpeg I then tried to log the raw data as follows and plot: log.living <- log(fflies$living) plot(log.living~fflies$day,xlab="Number of Days",ylab="Number of Fruit Flies",main="Number of Living Fruit Flies vs Day",pch=16) http://r.789695.n4.nabble.com/file/n4530804/fflies2.jpeg Any help you can give me would be greatly appreciated. I am new to R, so I'm sorry for my "beginner's ignorance" in learning this program! :-) Cheers, Melissa -- View this message in context: http://r.789695.n4.nabble.com/logistic-regression-tp4530651p4530804.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.