Dear list members:

I am used to construct weigh and neighborhoods using knearneigh , knn2nb
 and nb2listw function. In spatcounts package to estimate spatial count
models using est.sc function there are 2 arguments
gmat(spatial adjacency matrix) and nmat(matrix containing the number of
neighbors of each region). I am wondering which functions I should use to
derive spatial adjacency matrix  and matrix containing the number of
neighbors of each region. Since I am using point data and define  neighbors
base on fix distance or number I appreciate your help for deriving those
arguments consistent with function est.sc in spatcounts.

Regards,
Roosbeh Nowrouian
PhD student
Department of Civil and Coastal Engineering

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to