Calculating Moran's I using Rust

I'm very new to Rust and am wondering if anyone knows of a rust implementation of Moran's I (https://en.wikipedia.org/wiki/Moran's_I) to calculate spatial autocorrelation. I have checked GeoRust (https://github.com/georust?q=spatial&type=&language=) and have searched all over the web. Any suggestion would be greatly appreciated.

I don't know of any existing implementations, but it seems rather straightforward to implement if you go off the definition on Wikipedia.

I'd also recommend looking for an implementation in Python or C++. I do a lot of computational geometry at work, and often algorithms in those languages are relatively easy to port to Rust because the languages all support similar ways of writing code.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.