Cross Validated
2026-08-13 14:13 UTC
By Tillandsia123
AI-113-20260813-social-media-c600de14
How do I account for site in a dbRDA while evaluating the effect of variables that are the same across all samples in a site?
I am trying to evaluate which environmental variables drive variation in microbial communities. I have 5 samples collected at 15 sites, and for each sample, I have a microbial community, soil pH, soil NO3, and MAT. I wanted to account for site when testing the effect of my environmental variables, so I tried: library(vegan) dbrda(Y ~ pH + NO3 + MAT + Condition(Site)) but because all samples at a site have the same MAT , the model does not evaluate MAT. How can I test the effects of all of my environmental variables while accounting for site?
I am trying to evaluate which environmental variables drive variation in microbial communities. I have 5 samples collected at 15 sites, and for each sample, I have a microbial community, soil pH, soil NO3, and MAT. I wanted to account for site when testing the effect of my environmental variables, so I tried: library(vegan) dbrda(Y ~ pH + NO3 + MAT + Condition(Site)) but because all samples at a site have the same MAT , the model does not evaluate MAT. How can I test the effects of all of my environmental variables while accounting for site?
Full article content could not be extracted automatically. Read the original below.
Source:
Cross Validated
· stats.stackexchange.com