I have read some tutorials which explain the mechanism behind PERMANOVA, e.g., enter link description here. Based on the tutorials, my understanding is PERMANOVA can only handle categorical explanatory variables as grouping variables. However, adonis2 can handle continuous explanatory variables.
Here is an example I tried in R:
beta <- betadisper(s_distance, sample_data(human)$weight)
plot(beta)
The graph:
Based on the graph, it seems adonis2 treats continuous explanatory variables as categorical variables. Also in the example shown in the adonis document enter link description here, A1
in adonis2(dune ~ Management*A1, data = dune.env)
is a continuous variable. My questions are:
- Does adonis2 really treats continuous variables as categorical variables? If not, how?
- Could the multivariate multiple regression be a more reasonable choice when both categorical and continuous explanatory variables exist? If not, why?
Thanks in advance for your help!