rd3_layoutCircle {rD3plot} | R Documentation |
Produce a circle layout of any number of nodes.
Description
rd3_layoutCircle
produces a circle layout of any number of nodes.
Usage
rd3_layoutCircle(N,nodes=seq_len(nrow(N)),deg=0,name=NULL)
Arguments
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. |
Value
‘rd3_layoutCircle’ produces a circle layout of any number of nodes.
Author(s)
Modesto Escobar, Department of Sociology and Communication, University of Salamanca.
Examples
A <- data.frame(name=letters)
L <- rd3_layoutCircle(A,name="name")
net <- network_rd3(A,layout=L)
## Not run:
plot(net)
## End(Not run)
[Package rD3plot version 1.0.68 Index]