MathMarEcol / pdyer_aus_bio

GNU General Public License v3.0
0 stars 0 forks source link

Check that GF is being called with maxLevel referring to number of sites #31

Closed PhDyellow closed 9 months ago

PhDyellow commented 9 months ago

The GF demonstration example from the package homepage sets maxlevel accoridng to the number of sites. maxLevel is max number of partitions allowed. Log2() of sites makes intuitive sense, double the number of sites, allow one more partition.

The code in fit_gf.R appears to use number of species though. Check and fix if needed.

PhDyellow commented 9 months ago

Fixed by 93b35d07384