For weighted networks, draw an adjacency matrix showing which colonies are connected and how strongly connected they are depending on a kernel that defines how connection strength decreases with distance.
Many kernels have a maximum threshold above which colonies aren't connected. This simplified things as otherwise all colonies would be connected to some extent. This threshold is defined with the argument maxDistance.
1 | weightMatrix(locations, maxDistance, kern)
|
locations |
x, y numeric locations of each colony. |
maxDistance |
For kernels with an upper threshold |
kern |
Character, giving the name of the distance kernel to be used. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.