Dear UseRs,
i want to apply mantel test by comparing a list of 124 distance matrices with a 
reference distance matrix "q". The list of distance matrices was created by the 
following command..
u<-lapply(el, function(x) dist(x))
where "el" is a data frame of 75 columns and 124 rows. Therefore, the list of 
distances matrices, made out of it should have 75 elements each containing 124 
rows and 124 columns.
I, unsuccessfully,  tried the following command 

>mantel.rtest(as.dist(q),  lapply(el, function(x) dist(x)), nrepet = 9999) 
Do you have any clue??
Thanks in advance
Eliza                                     
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to