Error while using 'species_aggreg'
Opened this issue · 2 comments
bharaticg commented
Hello, I am using this package for community ecology data analysis. While trying to run species aggregate I am getting the following error
Error in if (round(Si/Mi, 1) == 1) { :
missing value where TRUE/FALSE needed
I have two data frames for two habitats, for one it worked well but for the other the error is persistent. All other analysis worked well only with aggregate I am getting this error. I am unable to locate the issue. Please help.
sollano commented
Hello @bharaticg , could you check if you have NAs in your dataset? Try removing them. This error seems to indicate that NAs are entering if statement inside the function.
bharaticg commented
Thank you very much for your response. I will check for that.
Regards
Bharati
…On Thu, Oct 22, 2020 at 8:26 PM Sollano Rabelo Braga < ***@***.***> wrote:
Hello @bharaticg <https://github.com/bharaticg> , could you check if you
have NAs in dataset? Try removing them. This error seems to indicate that
NAs are entering if statement inside the function.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALF6EXDY3ZC6OAKITISUT33SMBBZTANCNFSM4PH47U2Q>
.