sumNeighbours          package:surveillance          R Documentation

_C_a_l_c_u_l_a_t_e_s _t_h_e _s_u_m _o_f _c_o_u_n_t_s _o_f _a_d_j_a_c_e_n_t _a_r_e_a_s

_D_e_s_c_r_i_p_t_i_o_n:

     Calculates the sum of counts of adjacent units/areas, i.e. sum_j~i
     y_j,t for all time points t and  each unit i, t=1,...,n,
     i=1,...,m.

_U_s_a_g_e:

       sumNeighbours(disProgObj)

_A_r_g_u_m_e_n_t_s:

disProgObj: Object of class 'disProg'

_V_a_l_u_e:

     matrix of dimension n x m

