powered by
-
generatetimeaggregatednetwork(g, starttime, stoptime)
A weighted time-aggregated network whose edge weights equal the number of interactions between those vertices in the time window.
The time-ordered network to be aggregated
The time at which to begin aggregating interactions.
The time at which to stop aggregating interactions.
Benjamin Blonder bblonder@email.arizona.edu.
generatenetworkslices
data(ants) allindivs <- c(union(ants$VertexFrom, ants$VertexTo), "NULL1", "NULL2") g <- generatetonetwork(ants, allindivs) tan500 <- generatetimeaggregatednetwork(g, 0, 500) plottanet(tan500)
Run the code above in your browser using DataLab