[R] How to specify minimum and maximum x-axis value in logi.hist.plot?
eddie smith
eddieatr at gmail.com
Fri Sep 14 11:32:39 CEST 2012
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
More information about the R-help
mailing list