sumNeighbours {surveillance}R Documentation

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,...,n, i=1,...,m.

Usage

  sumNeighbours(disProgObj)

Arguments

disProgObj Object of class disProg

Value

matrix of dimension n times m


[Package surveillance version 0.9-6 Index]