Of course, as soon as I say this someone builds a Windows installer for rpy2...
The first piece of advice I can give you is to forget rpy or rpy2. They haven't been supported on Windows for quite some time. Unless you are using a Unix/Linux operating system, you will be heading down a long and disappointing road.
As for implementation I would write an R script with parameters that are passed from Python. ESRI has an example calling a clustering script: http://resources.arcgis.com/gallery/...2-643E624A8925I also stumbled across a very intriguing method for interfacing R and ArcGIS through Python that I have not tried yet. I attached the PDF.
No need to reinvent the wheel. The SatScan statistic is available in the "SpatialEpi" R package with the "kulldorff" function. To create an ArcTool I would write a Python wrapper for the R function. http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=SpatialEpi:kulldorff
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.