predictGLM | R Documentation |
An alternative to predictCount
to handle Binomial as well as
Poisson models
predictGLM(object, newdata, type = "link", cilevel = 0.95, quasit = FALSE, ...)
object |
a |
newdata |
prediction data frame. |
type |
|
cilevel |
confidence level of the interval. |
quasit |
if |
... |
optional arguments that are passed to the generic |
Note: The data frame, newdata, must have the same column order and data types (e.g. numeric or factor) as those used in fitting the model.
A data frame with three columns:
the predicted count.
the lower bound of the predicted count.
the upper bound of the predicted count.
predict
, predict.glm
, as.data.frame
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.