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)

[Package ergm version 3.4.0 Index]