rd3_layoutGrid {rD3plot} | R Documentation |
Produce a grid layout of any number of nodes.
Description
rd3_layoutGrid
produces a grid layout of any number of nodes.
Usage
rd3_layoutGrid(N,string,name=NULL,byrow=FALSE)
Arguments
N |
a data frame of nodes. |
string |
a character vector specifing grouped nodes. |
name |
column name with node names in the N data frame. |
byrow |
order nodes by row (default) or by columns (FALSE) |
Value
‘rd3_layoutGrid’ produces a grid 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_layoutGrid(A,"a,b,c,d,e.f,g,h,i,j.k,l,m,n,o,p.q,r,s,t,u.v,w,x,y,z","name")
net <- network_rd3(A,layout=L)
## Not run:
plot(net)
## End(Not run)
[Package rD3plot version 1.0.68 Index]