title: how to use predict()
body: <p>Want to predict a value but this is clearly not the solution. I am doing a multiple choice test and 0.304... is not an answer.How to use predict() correctly?</p>
  
  <pre><code>library(glm2)
  data(crabs)
  fit= glm(Satellites~Width,data=crabs, family="poisson")
  plot(Satellites~Width,data=crabs)
  abline(fit)
  predict(fit, newdata=data.frame(Width=c(22)))
  1 
  0.3042347 
  </code></pre>