plot.bergm {Bergm}R Documentation

Plot BERGM posterior output

Description

This function creates MCMC diagnostic plots for bergm objects.

Usage

## S3 method for class 'bergm'
plot(x, ...)

Arguments

x

an R object of class bergm.

...

additional arguments, to be passed to lower-level functions.

Examples

## Not run: 
# Load the florentine marriage network
data(florentine)

# Posterior parameter estimation:
p.flo <- bergm(flomarriage ~ edges + kstar(2),
               burn.in    = 50,
               aux.iters  = 500,
               main.iters = 1000,
               gamma      = 1.2)

# MCMC diagnostics plots:
plot(p.flo)

## End(Not run)


[Package Bergm version 5.0.7 Index]