View source: R/brmsfit-methods.R
vcov.brmsfit | R Documentation |
Get a point estimate of the covariance or correlation matrix of population-level parameters
## S3 method for class 'brmsfit'
vcov(object, correlation = FALSE, pars = NULL, ...)
object |
An object of class |
correlation |
Logical; if |
pars |
Optional names of coefficients to extract. By default, all coefficients are extracted. |
... |
Currently ignored. |
Estimates are obtained by calculating the maximum likelihood covariances (correlations) of the posterior draws.
covariance or correlation matrix of population-level parameters
## Not run:
fit <- brm(count ~ zAge + zBase * Trt + (1+Trt|visit),
data = epilepsy, family = gaussian(), chains = 2)
vcov(fit)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.