| summary.dynet | R Documentation |
A tidy description of the whole network, one row per property. Two densities are reported and they answer different questions. Snapshot density is the mean over time bins of realised against possible edges. Temporal density is the proportion of all possible relational exposure occupied during the observation window. Overlapping and duplicate spells for the same ordered pair, or dyad in an undirected network, are unioned before their duration is counted.
## S3 method for class 'dynet'
summary(object, temporal_density = FALSE, ...)
object |
A temporal network from |
temporal_density |
Whether to compute the temporal-density row.
|
... |
Ignored. |
Let Y_q(t) indicate that both endpoints of relational opportunity
q are eligible at positive observed time t, and let
E_q(t) indicate binary union edge activity. Temporal density is
\rho = \frac{\sum_q \int Y_q(t)E_q(t)dt}
{\sum_q \int Y_q(t)dt}.
Directed opportunities are ordered; undirected opportunities are unordered.
The integrals are evaluated exactly over observation, vertex, and edge change
points. Self-loops, weights, session labels, duplicate spells, genuine
points, and observation gaps do not add exposure. A network with no positive
time containing two coeligible distinct vertices has undefined temporal
density and reports NA.
This is an occupancy definition. Unlike summing spell durations, it remains
in [0, 1] when the same relation has overlapping or duplicated spells.
A data.frame with columns property and value, one row per
property.
Bender-deMoll, S., & Morris, M. (2025). tsna: Tools for Temporal Social Network Analysis. R package version 0.3.6.
Holme, P., & Saramaki, J. (2012). Temporal networks. Physics Reports, 519(3), 97-125.
Latapy, M., Viard, T., & Magnien, C. (2018). Stream graphs and link streams for the modeling of interactions over time. Social Network Analysis and Mining, 8, 61.
dn <- dynet(school_contacts)
summary(dn)
# The temporal density is opt-in, since it is quadratic in the vertex count.
summary(dn, temporal_density = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.