layoutCircle {netCoin} | R Documentation |
Produce a circle layout of any number of nodes.
Description
layoutCircle
produces a circle layout of any number of nodes.
Usage
layoutCircle(N,nodes=seq_len(nrow(N)),deg=0,name=NULL)
Arguments
N |
a data frame of nodes. |
nodes |
a vector specifing nodes. |
deg |
degrees to rotate. |
name |
name of column with node names. |
Value
This function returns the input data frame of nodes with the resulting layout applied.
Author(s)
Modesto Escobar, Department of Sociology and Communication, University of Salamanca. See https://sociocav.usal.es/blog/modesto-escobar/
Examples
A <- data.frame(name=letters)
L <- layoutCircle(A,name="name")
netCoin(A,layout=L)
[Package netCoin version 2.0.48 Index]