Description Usage Arguments Value Author(s) Examples
Will use rgl to render a spatial graph
1 | renderNetwork<-function( network, locations, scaling=c(0,0), lwd=2, radius=3, edgecolors=0, nodecolors='blue', nodetype='s' )
|
network |
NxN array or matrix of network connectivity values. |
locations |
Nx3 array or matrix of node locations |
scaling |
min and max values to use for coloring of edge values |
lwd |
width of edge lines |
edgecolors |
pre-defined colors for graph edges |
radius |
radius of nodes |
nodetype |
type of glyph for nodes |
0 – Success
1 – Failure
Duda, J
1 2 3 4 5 | ## Not run:
renderNetwork(network, locations)
renderNetwork(network, locations, lwd=3, edgecolors=heat.colors(100) )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.