rd3_layoutCircle | R Documentation |
rd3_layoutCircle
produces a circle layout of any number of nodes.
rd3_layoutCircle(N,nodes=seq_len(nrow(N)),deg=0,name=NULL)
N |
a data frame of nodes. |
nodes |
a vector specifing the node names inclued in the layout calculation. |
deg |
rotation degrees. |
name |
column name with node names in the N data frame. |
‘rd3_layoutCircle’ produces a circle layout of any number of nodes.
Modesto Escobar, Department of Sociology and Communication, University of Salamanca.
A <- data.frame(name=letters)
L <- rd3_layoutCircle(A,name="name")
net <- network_rd3(A,layout=L)
## Not run:
plot(net)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.