predictCount | R Documentation |
Uses the main output and some error messages from R function 'predict' but gives you more output. (Error messages are not reliable when used in Splus.)
predictCount(object, newdata, cilevel = 0.95, digit = 3, print.out = TRUE, ...)
object |
a |
newdata |
prediction data frame. |
cilevel |
confidence level of the interval. |
digit |
decimal numbers after the point. |
print.out |
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.