So I have a glm that is defined like this
oring.glm = glm(oring.data$Damaged ~ oring.data$Temp, data = oring.data, family=binomial)
The data looks like this
Oring Temp
1 15
0 20
1 30
I want to predict what happens to the Oring at a specific temperature
I've tried doing this
logodds = predict(oring.glm, list(Temp=31))
But this gives me a list of values, as opposed to a single odds value.
How do I get that?