Calculate the PII scores after the edge distances are calculated
1 | piiCalc(edgeDistance, edgevalence, piiBeta, piiX, maxDistance)
|
edgeDistance |
An integer matrix of distances from the nodes to the edges |
piiBeta |
The beta attenuation value (ideally -1.0 to -0.01) |
piiX |
The normalization factor based on the maximum degree. |
maxDistance |
The maximum distance in the edgeDistance matrix (or some user-provided max distance for very large networks) |
valence |
The postive / negative valence of each of the edges. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.