View source: R/build_dynamic_networks2.R View source: R/build_dynamic_networks.R
build_dynamic_networks2 | R Documentation |
build_dynamic_networks2()
builds one or several networks (as tidygraph objects)
from a table of nodes and directed edges, with support for both structured cooccurrence
methods and statistical backbone extraction using the backbone package.
The function is useful for constructing bibliometric or affiliation networks across
static or dynamic time windows.
build_dynamic_networks2(
nodes,
directed_edges,
source_id,
target_id,
time_variable = NULL,
time_window = NULL,
backbone_method = c("statistical", "structured"),
statistical_method = c("sdsm", "fdsm", "fixedfill", "fixedfrow", "fixedcol"),
alpha = alpha,
coupling_measure = c("coupling_angle", "coupling_strength", "coupling_similarity"),
edges_threshold = 1,
overlapping_window = FALSE,
compute_size = FALSE,
keep_singleton = FALSE,
filter_components = FALSE,
...,
verbose = TRUE
)
nodes |
Table of nodes and their metadata. One row per node. For example, a table of articles with identifiers, authors, publication year, etc. |
directed_edges |
Table of edges representing the links between nodes and associated entities (e.g., references, authors, affiliations). |
source_id |
Quoted name of the column giving the unique identifier of each node. |
target_id |
Quoted name of the column giving the identifier of the element linked to each node. |
time_variable |
Optional name of the column with a temporal variable (e.g., publication year). |
time_window |
Optional size of the time window (in units of |
backbone_method |
Method used to extract the network backbone. Choose between:
|
statistical_method |
For |
alpha |
Significance threshold for statistical backbone extraction. Required if
|
coupling_measure |
For
|
edges_threshold |
Threshold for edge weight filtering in structured methods. |
overlapping_window |
Logical. If |
compute_size |
Logical. If |
keep_singleton |
Logical. If |
filter_components |
Logical. If |
... |
Additional arguments passed to |
verbose |
Logical. If |
build_dynamic_networks2()
generalizes build_dynamic_networks()
by adding support for
statistical backbone extraction using null models from the backbone
package. The cooccurence methods used in
build_dynamic_networks()
can be viewed as deterministic methods to extract the network backbone. The backbone is defined as the significant edges in the network.
As with build_dynamic_networks()
, the function constructs networks for each time window. If time_variable
and time_window
are defined, the function constructs networks
for each time window (sliding or non-overlapping). Otherwise, it builds a single static network.
If backbone_method = "structured"
, cooccurrence edges are computed using bibliometric coupling
techniques. The term structured refers to deterministic methods based on thresholding cooccurrence measures.
If backbone_method = "statistical"
, the function constructs a bipartite incidence matrix
and extracts statistically significant edges using one of the null models from the backbone
package.
A single tidygraph object if time_window
is NULL
;
A list of tidygraph objects (one per time window) otherwise.
biblionetwork::biblio_coupling()
, backbone::sdsm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.