buildV | R Documentation |
Forms the expected covariance structure of link-scale observations for GLMMs fitted with MCMCglmm
buildV(object, marginal=object$Random$formula, diag=TRUE, it=NULL, posterior="mean", ...)
object |
an object of class |
marginal |
formula defining random effects to be maginalised |
diag |
logical; if |
it |
integer; optional, MCMC iteration on which covariance structure should be based |
posterior |
character; if |
... |
Further arguments to be passed |
If diag=TRUE
an n by n covariance matrix. If diag=FALSE
and posterior!="all"
an 1 by n matrix of variances. If posterior=="all"
an nit by n matrix of variances (where nit is the number of saved MCMC iterations).
Jarrod Hadfield j.hadfield@ed.ac.uk
MCMCglmm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.