powered by
layoutCircle produces a circle layout of any number of nodes.
layoutCircle
layoutCircle(N,nodes=seq_len(nrow(N)),deg=0,name=NULL)
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 of nodes.
a vector specifing nodes.
degrees to rotate.
name of column with node names.
A <- data.frame(name=letters) L <- layoutCircle(A,name="name") netCoin(A,layout=L)
Run the code above in your browser using DataLab