adonis is deprecated: use adonis2 #641
jarioksa
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The next vegan release will deprecate
adonis
in favour ofadonis2
. Several CRAN packages have already adoptedadonis2
(we have warned on this change since 2016 whenadonis2
was released). There are still five CRAN packages that calladonis
, but I have contacted their maintainers. For more details, see issue #523. Quick scanning found still more CRAN packages that useadonis
, but they do not test those parts and are not caught in CRAN checks. However, these functions will not work correctly. I will have a closer look at these functions after vegan release.I urge all package maintainers to fix their packages and switch to
adonis2
. Here an overview of needed changes:adonis()
toadonis2()
calls.adonis2
return object is essentially the same as theaov.tab
element ofadonis
. Instead ofobject$aov.tab
refer only toobject
.adonis2
drops columnMeanSqs
and has one column less (five instead of six), and you must adapt numerical indexing.SumsOfSqs
is nowSumOfSqs
, andF.Model
is nowF
, and you may need to change named indexing.anova.cca
that inherits fromanova
ordata.frame
with attributes (as.data.frame(object)
will drop theanova
attributes). They are essentially similar as return objects ofanova.cca
andpermutest.cca
. There are no longer objects of class"adonis"
nor specific methods for that vanished class.adonis2
no longer returnscoefficients
(for species) andcoef.sites
. These were based on Euclidean distance, and are misleading (or plainly wrong) with any other dissimilarity (and the choice of dissimilarity did not influence these coefficients). See issue Extracting coefficients #640.Beta Was this translation helpful? Give feedback.
All reactions