hergm.plot: Plot summary of object of class 'hergm'

plot.hergmR Documentation

Plot summary of object of class hergm


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.


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



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


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.


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

hergm documentation built on Nov. 10, 2022, 5:09 p.m.

Related to hergm.plot in hergm...