Learn R Programming

timeordered (version 0.9.6)

plotnetworkslices: Plots a time-aggregated network

Description

-

Usage

plotnetworkslices(slices, timedeltas)

Arguments

slices
A list of n time-aggregated networks
timedeltas
A n x 2 matrix describing the start and stop times for each time-aggregated network

Value

  • None; used for its side effect of producing a plot.

See Also

plotnetworkslices, generatetimedeltas, generatetimelags~~~

Examples

Run this code
data(ants)
allindivs <- c(union(ants$VertexFrom, ants$VertexTo), "NULL1", "NULL2")
g <- generatetonetwork(ants, allindivs)
td100 <- generatetimedeltas(0,1500,100)
ns100 <- generatenetworkslices(g, td100)
plotnetworkslices(ns100, td100)

Run the code above in your browser using DataLab