View source: R/SpatialNetwork.R
Visualize SNN networks for spatial data
1 2 3 4 5 |
object |
Object of class spaceST. |
subset_by |
Select attribute to subset igraph by, default NULL (options: "clusters", "replicate"). |
color_by |
Select attribute to color vertices by (options: "clusters", "replicate", "clust_and_rep). |
select.clust.group |
Select cluster by cluster number. |
select.rep.group |
Select replicate by replicate ID. |
mode |
Select mode for network object, default NULL (options: "spatial", "circle", "kamadakawai", ... For more options, see available placement algorithms in the sna package). |
vertex.size |
Size of nodes/vertices. |
edge.color |
Color edges of network. |
edge.size |
Select size for edges in network. |
clusters.snn |
Cluster data using network based approach. |
cols |
character; Specify colors of grouping variables. |
... |
Parameters passed to ggnet2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.