Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign updecorana yields different outputs for different versions of vegan #303
Comments
This was reported as an issue #303 in https://github.com/vegandevs/vegan. The bug was introduced in streamlining of the code for vegan 2.5-0, and concerns downweighted analysis (iweigh = 1).
|
Yes, this is a bug, and it concerns downweighted analysis (argument |
This was reported as an issue #303 in https://github.com/vegandevs/vegan. The bug was introduced in streamlining of the code for vegan 2.5-0, and concerns downweighted analysis (iweigh = 1). (cherry picked from commit 0de6bc4)
|
Thanks for the quick answer and the quick fix!! |
Dear Jari,
first of all, thanks for your fantastic package which I have probably been using for more than ten years.
I have stumbled across some inconsistency regarding the output of
decorona. Specifically,decoranareturns different results since vegan package version 2.5-1 compared to package version 2.4-6.So, first of all, let's download and install vegan 2.4-6 and subject the
varechemdataset to a DCA. I save thedecoranaoutput in a directory created by rappdirs.Created on 2019-01-16 by the reprex package (v0.2.1)
Secondly, I have terminated R and RStudio and opened RStudio again (pls note that a simple R session restart is not sufficient, instead one has to properly close R and RStudio). This time, I will install vegan from CRAN, run again a DCA on the
varespecdataset and compare the results between vegan package versions 2.4-6 and 2.5-3.Created on 2019-01-16 by the reprex package (v0.2.1)
It turns out that the results differ substantially. So the question is which result is correct? Looking at the NEWS, is it possible that a bug was introduced when increasing the performance of
decoranain package version 2.5-1?