sumNeighbours {surveillance} | R Documentation |
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,...,n, i=1,...,m.
sumNeighbours(disProgObj)
disProgObj |
Object of class disProg |
matrix of dimension n times m