View source: R/gof.multibergm.R
gof.multibergm | R Documentation |
Function to calculate summaries for degree, minimum geodesic distances, and edge-wise shared partner distributions to diagnose the Bayesian goodness-of-fit of exponential random graph models fit to multiple networks.
## S3 method for class 'multibergm'
gof(
object,
coefs = NULL,
param = NULL,
sample_size = 100L,
aux_iters = 1.5 * object$control$aux_iters,
burn_in = 0L,
thin = 1L,
...
)
object |
A multibergm object |
coefs |
Optional set of model coefficients to use for network simulation. The default is to use the posterior samples of the population-level parameter. |
param |
Multibergm parameter to be summarised |
sample_size |
Number of networks to be simulated and compared to the observed networks. |
aux_iters |
Number of iterations used for network simulation. |
burn_in |
Amount of burn-in to remove from the start of posterior samples (pre-thinning) |
thin |
Amount of thinning to apply to the posterior samples |
... |
Additional parameters to be passed on to lower-level functions. |
Outputs bar plots (for observed networks) overlayed with ribbons (for simulated network) of degree, minimum geodesic distances, and edge-wise shared partner distributions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.