Hi guys,

How could I specify minimum and maximum x-axis values in logi.hist.plot?
My code is something like this:

plot(mydata$Temperature,mydata$Mortality,
,xlab="Temperature",ylab="Probability of mortality")
curve(predict(temp.glm,data.frame(Temperature=x),type="resp"),add=TRUE,
col="red")
points(mydata$Temperature,fitted(temp.glm),pch=20)
title(main="Mortality-Temperature with Fitted GLM Logistic Regression Line")

Anybody? :)

Cheers
Eddie

______________________________________________
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.

Reply via email to