Re: [R] mantel test and NAs

2009-12-18 Thread Sarah Goslee
You will most likely need to drop the samples that are causing the NA values from both of your datasets. The function won't work with NA values. Sarah On Thu, Dec 17, 2009 at 12:33 PM, marciarocha wrote: > > Dear R users, > > I am having a problem performing the mantel test (both with functions

Re: [R] mantel test and NAs

2009-12-18 Thread Tal Galili
Could you please supply with a reproducible self sufficient script ? Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics

[R] mantel test and NAs

2009-12-17 Thread marciarocha
Dear R users, I am having a problem performing the mantel test (both with functions mantel {vegan} and mantel.test {ape}) due to I believe the presence of NAs on my distance matrices, which look like e.g.: NA 12 12 3 NA 4 5 6 and 1 1 2 2 3 4 5 6 7 8 Would any of you