plot.network
visualization routine.network.layout.circle(d, layout.par)
network.layout.fruchtermanreingold(d, layout.par)
network.layout.kamadakawai(d, layout.par)
plot.network
.d
.plot.network
allows for the use of arbitrary vertex layout algorithms via the network.layout.*
family of routines. When called, plot.network
searches for a network.layout
function whose fourth name matches its mode
argument (see plot.network
help for more information); this function is then used to generate the layout for the resulting plot. In addition to the routines documented here, users may add their own layout functions as needed. The requirements for a network.layout
function are as follows:
d
, must be the (dichotomous) graph adjacency matrix;layout.par
, must be a list of parameters (orNULL
, if no parameters are specified); andc(2,NROW(d))
, whose rows contain the vertex coordinates.layout.par
could be used to pass additional matrices, if needed.)
The network.layout
functions currently supplied by default are as follows:
[object Object],[object Object],[object Object]Kamada, T. and Kawai, S. (1989). ``An Algorithm for Drawing General Undirected Graphs.'' Information Processing Letters, 31(1):7-15.
plot.network