Learn R Programming

ergm (version 3.2.4)

vcov.ergm: 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

Run this code
data(florentine)
fit <- ergm(flomarriage ~ edges + concurrent)
vcov(fit)

Run the code above in your browser using DataLab