Learn R Programming

ergm (version 3.6.1)

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

"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, sources="model")
vcov(fit, sources="estimation")
vcov(fit, sources="all") # the default

Run the code above in your browser using DataLab