[R-sig-Geo] polygon neighbor matrix

Thierry Onkelinx thierry.onkelinx at inbo.be
Mon Aug 31 17:01:04 CEST 2015


Maybe gTouches() from the rgeos package.
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature
and Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium

To call in the statistician after the experiment is done may be no
more than asking him to perform a post-mortem examination: he may be
able to say what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does
not ensure that a reasonable answer can be extracted from a given body
of data. ~ John Tukey


2015-08-31 16:53 GMT+02:00 Paul Lantos <paul.lantos at duke.edu>:
> Hi,
>
> I'm trying to use the cluster analysis program Flexscan, which I gather is similar to Satscan but it computes irregular clusters. This program requires a polygon adjacency matrix (termed a 'matrix definition file'). The example they provide has a row for every polygon, and for each row every neighboring polygon is listed in successive columns. So for instance if row 1 / polygon 1 has 3 neighbors there will be three polygons listed in columns 2-4.
>
> I have tried some techniques like the spatial weights matrix tools in ArcGIS and in Spatstat, but I cannot get the output in this kind of format. Was wondering if there is some obvious way to do this in R.
>
> The documentation for Flexscan is here:
>
> https://sites.google.com/site/flexscansoftware/download_e/FleXScan%20User%20Guide_e31.pdf?attredirects=0&d=1
>
> Thanks for any help,
> Paul
>
> _______________________________________
> Paul M. Lantos, MD, FIDSA, FAAP, FACP
> Departments of Internal Medicine and Pediatrics
>   Pediatric Infectious Diseases
>   Hospital Medicine Program
> Duke University School of Medicine
> _______________________________________
>
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo



More information about the R-sig-Geo mailing list