predict.mcemGLMM {mcemGLM} | R Documentation |
Predict method for mcemGLMM objects
Description
This functions returns predicted link function of observations for a model fitted with mcemGLMM
.
Usage
## S3 method for class 'mcemGLMM'
predict(object, newdata, type = c("link", "response"), se.fit = FALSE, ...)
Arguments
object |
a model fitted with the mcemGLMM function. |
newdata |
optional data frame with new data. The variable names must match the original variables. If missing, the function will return predicted values at each observation. |
type |
character string. The type of predictions to be returned. Either "link" or "response" predictions are available. |
se.fit |
logical. If true, standard errors will be returned. |
... |
additional arguments. |
Value
A vector with the predictions from the observed data or by using the supplied new data.
Author(s)
Felipe Acosta Archila <acosta@umn.edu>
[Package mcemGLM version 1.1.3 Index]