ropensci / NLMR

📦 R package to simulate neutral landscape models 🏔
https://ropensci.github.io/NLMR/
65 stars 17 forks source link

Nlm neigh #94

Closed bitbacchus closed 2 years ago

bitbacchus commented 2 years ago

Recoded the algorithm to improve code quality and speed up calculations for small probabilities (20-60x faster in my tests).

The new code also does not use a buffer anymore but assumes a torus das edge condition. This seems not to influence the overall outcomes.