plottanet: Plots a time-aggregated network.

plottanetR 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 igraph's plotting functionality

Value

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

Author(s)

Benjamin Blonder bblonder@email.arizona.edu.

See Also

generatetimeaggregatednetwork

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)

bblonder/timeordered documentation built on Aug. 29, 2023, 9:15 a.m.