Predict method for GLMMs fitted with MCMCglmm
Predicted values for GLMMs fitted with MCMCglmm
## S3 method for class 'MCMCglmm' predict(object, newdata=NULL, marginal=object$Random$formula, type="response", interval="none", level=0.95, it=NULL, posterior="all", verbose=FALSE, approx="numerical", ...)
object |
an object of class |
newdata |
An optional data frame in which to look for variables with which to predict |
marginal |
formula defining random effects to be maginalised |
type |
character; either "terms" (link scale) or "response" (data scale) |
interval |
character; either "none", "confidence" or "prediction" |
level |
A numeric scalar in the interval (0,1) giving the target probability content of the intervals. |
it |
integer; optional, MCMC iteration on which predictions should be based |
posterior |
character; if |
verbose |
logical; if |
approx |
character; for distributions for which the mean cannot be calculated analytically what approximation should be used: numerical integration ( |
... |
Further arguments to be passed |
Expectation and credible interval
Jarrod Hadfield j.hadfield@ed.ac.uk
Diggle P, et al. (2004). Analysis of Longitudinal Data. 2nd Edition. Oxford University Press.
McCulloch CE and Searle SR (2001). Generalized, Linear and Mixed Models. John Wiley & Sons, New York.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.