Plot summary of object of class hergm

Share:

Description

The function plot 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

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

Arguments

object

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.

See Also

hergm, hergm.postprocess, print, summary

Examples

1
2
3
4
5
## Not run: data(example)
object <- hergm(d ~ edges_ij + triangle_ijk)
plot(object)

## End(Not run)