get_net_stats: Compute network statistics

View source: R/gof.multibergm.R

get_net_statsR Documentation

Compute network statistics

Description

GetNetStats is an internal function used to compute network statistics.

Internal function to get the model summary statistics for a single network

Internal function to get the degree distribution for a single network

Internal function to get the edgewise-shared partner distribution for a single network

Internal function to get the geodesic distance distribution for a single network

Usage

get_net_stats(object, ...)

## S3 method for class 'list'
get_net_stats(object, formula, which_stats, ...)

## S3 method for class 'network'
get_net_stats(object, formula, which_stats, ...)

## S3 method for class 'network.list'
get_net_stats(object, formula, which_stats, ...)

get_model_stats(network, formula)

get_deg_dist(network)

get_esp_dist(network)

get_geodist_dist(network)

Arguments

object

A network or list of networks

...

Arguments to be passed to methods.

formula

The ERGM formula containing the summary statistics to be computed

which_stats

A string specifying which network statistics to be computed ("all", "model", "gof", or "other").

network

A network object

Methods (by class)

  • list: Network statistics for a list of networks.

  • network: Network statistics for a single network

  • network.list: Network statistics for a network.list


brieuclehmann/multibergm documentation built on June 19, 2024, 6:36 p.m.