wengngai / NSSF_IBMs

Spatially explicit individual based models of tree species in the Nee Soon Freshwater Swamp Forest (NSSF) catchment in Singapore
1 stars 0 forks source link

fix inter.dist.calc function #3

Closed hrlai closed 3 years ago

hrlai commented 3 years ago

I converted tree data to matrices to prevent spDists from calling spDists N1 incorrectly (otherwise it throws error about dimension mismatch). Can you check if the output is what you wanted originally? Not sure why I didn't see this error last time, could be related to code update in the sp package...

hrlai commented 3 years ago

Cancel because fixed in b2073d075a1b9da3b4b81fee27a37807df1148fd