[R-sig-eco] partial Mantel test

Iannone, Basil bianno2 at uic.edu
Tue Jun 7 14:46:56 CEST 2011


Dear r users,

I have a very quick and probably very easy question pertaining to the
conducting of a partial Mantel test in the vegan package using the code
below.

mantel.partial(xdis, ydis, zdis, method = "pearson", permutations = 999,
strata)

So I want to test for a relationship between a species distance matrix A and
an environmental distance matrix B while controlling for (considering the
effects of) a third distance matrix C.

So what I need to know is if I am correct in my understanding that using the
above code I would enter A as "xdis," B as "ydis," and C (the extra matrix
that I want to control for) as "zdis."

Could someone please tell me if I am correct and if I am not please let me
know how to specify the matrices correctly.

Thanks for the help,



-- 
Basil Iannone
University of Illinois at Chicago
Department of Biological Sciences (MC 066)
845 W. Taylor St.
Chicago, IL  60607-7060
Email: bianno2 at uic.edu
Phone: 312-355-3231
Fax: 312-413-2435
http://www2.uic.edu/~bianno2



More information about the R-sig-ecology mailing list