predict.hierCredGLM | R Documentation |
Obtain predictions based on the model fit with hierCredGLM
## S3 method for class 'hierCredGLM'
predict(object, newdata = NULL, ...)
object |
a model object for which prediction is desired. |
newdata |
optionally, a data frame in which to look for variables with which to predict. If omitted, the fitted values are used. |
... |
arguments passed to |
The random effects are taken into account by specifying these as an offset in the predict.glm
function.
If newdata
is omitted the predictions are based on the data used for the fit.
hierCredGLM
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.