`vcov()` method for `fastglm` fitted objects

# S3 method for class 'fastglm'
vcov(object, dispersion = object$dispersion, type = NULL, cluster = NULL, ...)

Arguments

object

a fitted object of class inheriting from `"fastglm"`.

dispersion

scale used for model-based covariance.

type

optional HC correction for robust covariance.

cluster

optional cluster identifiers for robust covariance.

...

arguments to [fastglm_vcov()].

Value

The estimated variance-covariance matrix of the fitted coefficients. For rank-deficient fits, rows and columns corresponding to aliased coefficients are filled with `NA`.