[R-sig-eco] correlation between dissimilarity matrices

2014-05-21 Thread Carlos
Hello, I am working with two dissimilarity matrices containing dissimilarities in taxonomic community structure and environmental variables, respectively, between different sites. Those sites are grouped in three different locations. I know I can obtain the correlation between both matices by

Re: [R-sig-eco] correlation between dissimilarity matrices

2014-05-21 Thread Paolo Piras
Hi Carlos Very briefly... you could look at rda() in vegan (not that in calibrate) partial and constrianed rda seems to be appropriate for your case. Maybe you should code a bit for controlling your nested stratification variable even if it is not very clear to me the nature of the data (sites vs

Re: [R-sig-eco] correlation between dissimilarity matrices

2014-05-21 Thread Carlos
Hi Martin, Thank you very much for your answer. I prefer to introduce environmental variables in a dissimilarity matrix (b), not as a matrix with different columns being each column an environmental variable. I was testing with a partial Mantel test. I created a dissimilarity matrix (c) with

Re: [R-sig-eco] correlation between dissimilarity matrices

2014-05-21 Thread Carlos
Thank you for your answer, I will also try using rda. I have two dissimilarity matrices representing distances between sites. Those sites belong to three different locations. I would like to find out if the correlation between both matrices is mainly promoted by the fact that dissimilarities