powered by
rd3_layoutCircle produces a circle layout of any number of nodes.
rd3_layoutCircle
rd3_layoutCircle(N,nodes=seq_len(nrow(N)),deg=0,name=NULL)
‘rd3_layoutCircle’ produces a circle layout of any number of nodes.
Modesto Escobar, Department of Sociology and Communication, University of Salamanca.
a data frame of nodes.
a vector specifing the node names inclued in the layout calculation.
rotation degrees.
column name with node names in the N data frame.
A <- data.frame(name=letters) L <- rd3_layoutCircle(A,name="name") net <- network_rd3(A,layout=L) if (FALSE) { plot(net) }
Run the code above in your browser using DataLab