26 March 2020 3 6K Report

Hello,

We are aiming to create a simple randomization algorithm in R program with abundance data. Specifically, we are aiming to create the IT-Algorithm (Ulrich & Gotelli 2010, Ecology), which "assigns individuals randomly to matrix cells with probabilities proportional to observed row and column abundance totals until, for each row and column, total abundances are reached." We haven't come across any code in the R program that has created this algorithm as of yet. This is the code we have so far, and I was curious if any coders out there may be able to give us some guidance on whether our IT-randomization function is legit:

https://ecologistatwork.com/post/2020/03/17/random-matrix-generation/

Appreciate any feedback. Thanks!

```

More Josh Barry's questions See All
Similar questions and discussions