sumNeighbours: Calculates the sum of counts of adjacent areas
Description
Calculates the sum of counts of adjacent units/areas, i.e.
$\sum_{j \sim i} y_{j,t}$ for all time points $t$ and
each unit $i$, $t=1,\ldots,n, i=1,\ldots,m$.Usage
sumNeighbours(disProgObj)
Arguments
disProgObj
Object of class disProg
Value
- matrix of dimension $n \times m$