Description Usage Arguments Details Value Author(s)
Calculates mean exposure from incoming links for a set of node.
1 2 | calculateMeanExposure(selNodes, adjMat, statusMat, column = 1,
bLog = FALSE)
|
selNodes |
Indices of the specified nodes. |
adjMat |
Adjacency matrix for the network. |
statusMat |
A matrix with statuses (NA, 0, any positive integer) of each unit. Rownames indicate location names, colnames indicate names of timepoints (e.g. years). |
column |
Column to analyze. |
bLog |
Whether to print infective links. |
Implemented via matrix multiplications.
A vector with two elements: number of incoming links, number of incoming links from infectious units (status > 0).
Mikhail Churakov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.