View source: R/5_gofParamFunctions.R
| getIndegree | R Documentation |
Calculates the weighted indegree distribution of all locations in the network. The weighted indegree is simply the column sum of the mobility table.
getIndegree(cache, dep.var, lvls, ...)
cache |
Current Cache. |
dep.var |
Dependent Variable. |
lvls |
Levels for which the function calculates values. Level k is the number of locations with a weighted indegree of k - 1, i.e., level 1 counts locations with indegree 0. If NULL, all levels from 1 to the maximum indegree + 1 are used. |
... |
Additional parameters. |
The degree distribution of simulated networks, named by the indegree each count refers to.
gofMobilityNetwork()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.