plottanet {timeordered} | R Documentation |
Plots a time-aggregated network.
Description
Plots a time-aggregated network. See igraph.plotting for more details.
Usage
plottanet(timeaggregatednetwork, layout = layout.circle,
vertex.label = V(timeaggregatednetwork)$name, vertex.size = 0,
vertex.label.cex = 0.5, edge.arrow.size = 0.5,
edge.width = E(timeaggregatednetwork)$Count/5, ...)
Arguments
timeaggregatednetwork |
The network to print, an object of the igraph class |
layout |
Graph layout function - see ?layout in igraph |
vertex.label |
Vertex labels. Defaults to the name of each vertex. |
vertex.size |
Size of each vertex. |
vertex.label.cex |
Label size factor. |
edge.arrow.size |
Arrow size. |
edge.width |
Arrow width, defaults to be proportional to edge weight. |
... |
Other arguments to be passed to |
Value
None; used for its side effect of producing a plot.
Author(s)
Benjamin Blonder bblonder@email.arizona.edu.
See Also
Examples
data(ants)
allindivs <- c(union(ants$VertexFrom, ants$VertexTo), "NULL1", "NULL2")
g <- generatetonetwork(ants, allindivs)
tan <- generatetimeaggregatednetwork(g, 0, 500)
plottanet(tan,layout=layout.kamada.kawai)
[Package timeordered version 1.0.0 Index]