gof.hergm | R Documentation |
The function gof.hergm
accepts an object
of class hergm
as argument and assesses the goodness-of-fit of the model estimated by function hergm
.
## S3 method for class 'hergm' gof(object, sample_size = 1000, ...)
object |
object of class |
sample_size |
number of samples to generate. |
... |
additional arguments, to be passed to lower-level functions in the future. |
The function gof.hergm
returns a list with components:
component.number |
number of components. |
max.component.size |
size of largest component. |
distance |
geodesic distance of pairs of nodes. |
degree |
degree of nodes. |
edges |
number of edges. |
stars |
number of |
triangle |
number of triangles. |
Schweinberger, M. and P. Luna (2018). HERGM: Hierarchical exponential-family random graph models. Journal of Statistical Software, 85, 1–39.
hergm, simulate.hergm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.