Learn R Programming

tna (version 1.5.8)

summary.tna: Calculate Summary of Network Metrics for a Transition Network

Description

This function calculates a variety of network metrics for a tna object. It computes key metrics such as node and edge counts, network density, mean distance, strength measures, degree centrality, and reciprocity.

Usage

# S3 method for tna
summary(object, ...)

Value

A summary.tna object, which is a tibble with one row per metric (13 rows) and the columns metric (the name of the metric, for example "Node Count" or "Reciprocity") and value.

Arguments

object

A tna object.

...

Ignored.

Details

The function extracts the igraph network and computes the following network metrics:

  • Node count: Total number of nodes in the network.

  • Edge count: Total number of edges in the network.

  • Network density: Proportion of possible edges that are present in the network.

  • Mean distance: The average shortest path length between nodes.

  • Mean and standard deviation of out-strength and in-strength: Measures of the total weight of outgoing and incoming edges for each node.

  • Mean and standard deviation of out-degree: The number of outgoing edges from each node.

  • Centralization of out-degree and in-degree: Measures of how centralized the network is based on the degrees of nodes.

  • Reciprocity: The proportion of edges that are reciprocated (i.e., mutual edges between nodes).

See Also

Basic functions build_model(), hist.group_tna(), hist.tna(), plot.group_tna(), plot.tna(), plot_frequencies(), plot_frequencies.group_tna(), plot_mosaic(), plot_mosaic.group_tna(), plot_mosaic.tna_data(), print.group_tna(), print.summary.group_tna(), print.summary.tna(), print.tna(), summary.group_tna(), tna-package

Examples

Run this code
model <- tna(group_regulation)
summary(model)

Run the code above in your browser using DataLab