This function calculates a variety of network metrics for each network
of a group_tna object. It computes key metrics such as node and edge
counts, network density, mean distance, strength measures, degree
centrality, and reciprocity.
# S3 method for group_tna
summary(object, combined = TRUE, ...)A summary.group_tna object. When combined = TRUE, a tibble
with one row per metric (see summary.tna()), the column metric, and
one column of values per cluster. When combined = FALSE, a named
list with the summary.tna() table of each cluster.
A group_tna object.
A logical value indicating whether the summary results
should be combined into a single table for all clusters. The default is
TRUE.
Ignored.
The function extracts the igraph network for each cluster 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).
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.tna(),
tna-package
group <- c(rep("High", 1000), rep("Low", 1000))
model <- group_model(group_regulation, group = group)
summary(model)
Run the code above in your browser using DataLab