Hello, I am trying to calculate pairwise Pearson correlation distances, and using biodist package, function "cor.dist". I start with a table of 4 rows and about 10 columns. (each of 4 samples, or rows have values in each of the 10 categories, no zeros or NAs).
I am getting an error message: > cor.dist(dmatrixD) Error in cor(t(x)) : missing observations in cov/cor In addition: Warning message: In cor(t(x)) : NAs introduced by coercion Does anyone know what that means? Also, are there other functions for Pearson distances? Thanks! -- Tanya. [[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.