predictGLM {s20x} | R Documentation |
Predictions for Generalized Linear Models
Description
An alternative to predictCount
to handle Binomial as well as
Poisson models
Usage
predictGLM(object, newdata, type = "link", cilevel = 0.95, quasit = FALSE, ...)
Arguments
object |
a |
newdata |
prediction data frame. |
type |
|
cilevel |
confidence level of the interval. |
quasit |
if |
... |
optional arguments that are passed to the generic |
Details
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.
Value
A data frame with three columns:
- Predicted
the predicted count.
- Conf.lower
the lower bound of the predicted count.
- Conf.upper
the upper bound of the predicted count.
See Also
predict
, predict.glm
, as.data.frame
.
[Package s20x version 3.1-40 Index]