Skip to contents

Extract variance-covariance matrix of fixed effects

Usage

# S3 method for class 'flexybayes'
vcov(object, ...)

Arguments

object

A fitted flexybayes object of any backend.

...

Ignored, present for compatibility with the generic, except that n_samples, which the INLA method takes, is refused with method_argument_not_supported: the matrix comes from every stored posterior draw.

Value

The posterior covariance matrix of the fixed effects, square with one row and column per coefficient and dimnames taken from coef(). This is a posterior covariance, not a sampling-theory variance estimate, though the downstream packages that consume it treat it as one.