View source: R/SpatialSociogram.R
spatial_sociogram | R Documentation |
This function creates a sociogram where the relative position of the nodes with respect to each other are preserved
spatial_sociogram(graph, v_color = "gray", v_lab_color = "black", e_width = 2)
graph |
igraph object with V(g)$X and V(g)$Y having the X and Y co-ordinates of each node |
v_color |
color of the vertices. Default=gray |
v_lab_color |
color of the vertex labels. Default=black |
e_width |
edge widths. Default=2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.