search for: dmatr

Displaying 1 result from an estimated 1 matches for "dmatr".

Did you mean: dmar
2003 May 26
0
as.matrix() problem in mantel.test()?
Dear all, I get an unexpected error when using the mantel.test function in library(ape). Is there something wrong with my matrices? > dmatr<- read.table("obt.Loiselle.kinship.intens02.DIST.matrix.txt",head=F) > kmatr<- read.table("obt.Loiselle.kinship.intens02.KINSHIP.matrix.txt",head=F) > > mantel.test(as.matrix(kmatr), as.matrix(dmatr), nperm = 500, graph = T) Error in var(x, na.rm = na.rm) : `x...