View source: R/generatetimeaggregatednetwork.R
generatetimeaggregatednetwork | R Documentation |
-
generatetimeaggregatednetwork(g, starttime, stoptime)
g |
The time-ordered network to be aggregated |
starttime |
The time at which to begin aggregating interactions. |
stoptime |
The time at which to stop aggregating interactions. |
A weighted time-aggregated network whose edge weights equal the number of interactions between those vertices in the time window.
Benjamin Blonder bblonder@email.arizona.edu.
generatenetworkslices
data(ants)
allindivs <- c(union(as.character(ants$VertexFrom), as.character(ants$VertexTo)), "NULL1", "NULL2")
g <- generatetonetwork(ants, allindivs)
tan500 <- generatetimeaggregatednetwork(g, 0, 500)
plottanet(tan500)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.