conc | R Documentation |
A function to compute the graph coordinated system with a concentric layout
conc(net, nr, irot, inv, flip, mirror=c("N","X","Y","D","L"), ...)
net |
an array representing the network relations |
nr |
a scalar with the number of radii, or a vector with the clustering of the actors. |
irot |
a scalar or vector with the “internal rotation” for each circle from closer to the center point to further away |
inv |
(optional and logical) should the circles be with an inverted ordering? |
flip |
(optional and logical) should the alternating circles be flipped? |
mirror |
mirror transformation
|
... |
Additional argument items |
In a Euclidean plane computes the coordinated system with a concentric layout with at least two radii (unless n = 1
).
In case that the number of radii is not specified in nr
, approx. half of the vertices are located at one radius and half in another one.
The clustering of the actors may be used to establish the location of the vertices in different radii as a numerical, character, or factor vector.
A data frame with a coordinated system with two columns representing the abscissa and the ordinate in a two-dimensional rectangular Cartesian coordinate system.
Antonio Rivero Ostoic
multigraph
, bmgraph
, frcd
, stsm
## Create the data: two binary relations among three elements
arr <- round( replace( array(runif(18), c(3,3,2)), array(runif(18),
c(3,3,2))>.5, 3 ) )
## Coordinates for the concentric layout with two radii
coord <- conc(arr, nr = 2)
## Plot multigraph with customized coordinates
multigraph(arr, coord = coord)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.