R: Extract Model Covariance Matrix

vcov.ergm {ergm} | R Documentation

## Extract Model Covariance Matrix

### Description

`vcov` is a method which extracts the covariance matrix from the output object returned by the `ergm` estimation.

### Usage

    ## S3 method for class 'ergm'
    vcov(object, sources=c("all","model","estimation"), ...)

### Arguments

`object` | The `ergm` output object.
`sources` | Specify whether to return the covariance matrix from the ERGM model, the estimation process, or both combined.
`...` | other arguments.

### Value

Coefficients extracted from the model object `object`.

### See Also

`coef.ergm`

### Examples

    data(florentine)
    fit <- ergm(flomarriage ~ edges + concurrent)
    vcov(fit, sources="model")
    vcov(fit, sources="estimation")
    vcov(fit, sources="all") # the default

[Package ergm version 3.8.0 Index]