Learn R Programming

hergm (version 4.1-10)

plot.hergm: Plot summary of object of class hergm

Description

The function plot.hergm accepts an object of class hergm as argument and plots a summary of a sample of block memberships of nodes from the posterior. Please note that the function hergm should have been called with relabel > 0 to solve the so-called label-switching problem, which is done by default. If the function hergm has not been called with option relabel > 0, call the function hergm.postprocess with relabel > 0.

Usage

# S3 method for hergm
plot(x, threshold = c(.7, .8, .9), ...)

Arguments

x

object of class hergm; objects of class hergm can be generated by function hergm.

threshold

if the component relabel of the object of class hergm is relabel = 3, then threshold is a vector of thresholds between 0 and 1, indicating the thresholds at which the same-block-membership posterior probabilities of nodes are to be thresholded to construct the same-block graphs.

...

additional arguments, to be passed to lower-level functions in the future.

References

Schweinberger, M. and P. Luna (2018). HERGM: Hierarchical exponential-family random graph models. Journal of Statistical Software, 85, 1--39.

See Also

hergm, hergm.postprocess, print.hergm, summary.hergm