layoutCircle | R Documentation |
layoutCircle
produces a circle layout of any number of nodes.
layoutCircle(N,nodes=seq_len(nrow(N)),deg=0,name=NULL)
N |
a data frame of nodes. |
nodes |
a vector specifing nodes. |
deg |
degrees to rotate. |
name |
name of column with node names. |
This function returns the input data frame of nodes with the resulting layout applied.
Modesto Escobar, Department of Sociology and Communication, University of Salamanca. See https://sociocav.usal.es/blog/modesto-escobar/
A <- data.frame(name=letters)
L <- layoutCircle(A,name="name")
netCoin(A,layout=L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.