SEELab / enaR

enaR = Ecological Network Analysis in R
23 stars 13 forks source link

enaStructure function does not work #296

Closed Yokelison closed 5 days ago

Yokelison commented 7 months ago

oyster <- force.balance(oyster) St <- enaStructure(oyster) Error in if (class(A) != "matrix") { : the condition has length > 1

enaStructure this function sames cannot work in this situation, my codes all follow the tutorial

borretts commented 5 months ago

Thanks for letting me know. I will see if I can fix the error shortly.

andybeet commented 1 week ago

@borretts Was this fixed with these commits to master ? If i run the code posted by @Yokelison i do not get an error

borretts commented 5 days ago

@andybeet yes, this issue was fixed in the master branch.