getIndegree: getIndegree

View source: R/5_gofParamFunctions.R

getIndegreeR Documentation

getIndegree

Description

Calculates the weighted indegree distribution of all locations in the network. The weighted indegree is simply the column sum of the mobility table.

Usage

getIndegree(cache, dep.var, lvls, ...)

Arguments

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.

Value

The degree distribution of simulated networks, named by the indegree each count refers to.

See Also

gofMobilityNetwork()


MoNAn documentation built on Oct. 12, 2026, 5:07 p.m.