Skip to content

Testing assumptions for running adonis2 over continuous data #516

Answered by jarioksa
NThie asked this question in Q&A
Discussion options

You must be logged in to vote

There is no direct way of finding that information directly from adonis2. However, you can build a corresponging dbrda model and use tools to analyse its residuals:

library(vegan)
data(mite, mite.env)
mad2 <- adonis2(dist(decostand(mite, "hell")) ~ SubsDens + WatrCont, mite.env)
mdb <- dbrda(dist(decostand(mite, "hell")) ~ SubsDens + WatrCont, mite.env)
ordiresids(mdb, residuals="working")
ordiresids(mdb, "scale", residuals="working")
ordiresids(mdb, "qq", residuals="working")

The internal mathematical models are identical in dbrda and adonis2 justifying this approach. However, the residuals concern internal ("working") form of dissimilarities (Gower double-centred dissimilarities), and for

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by NThie
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants