ernm_gof: print

View source: R/ernm-fit.R

ernm_gofR Documentation

print

Description

Goodness of fit plot for ERNM models, particularly suited for comparing models

Usage

ernm_gof(
  models,
  observed_network = NULL,
  stats_formula,
  style = "histogram",
  scales = "fixed",
  print = TRUE,
  n_sim = 10000,
  burnin = 10000,
  interval = 100
)

Arguments

models

named list of ernm models to be to be compared (can be length 1

observed_network

the observed network

stats_formula

the formula for the statistics

style

the style of the plot, either 'histogram' or 'boxplot'

scales

the scales of the plot, either 'fixed' or 'free'

print

whether to print the plot

n_sim

the number of simulations to run

burnin

the burnin for the MCMC simulation

interval

the samplling interval for MCMC simualtion

Value

A list containing goodness-of-fit plots and simulated statistics


ernm documentation built on April 11, 2025, 5:43 p.m.