*Hi Group **I have a large data set of individual pairwise values (100 rows) **that I** need to reshape into a pairwise matrix for mantel tests of similarity these values** . **I need this matrix for a Pathfinder network analysis. *
*I have a different data(word) such as :* living thing 0 animal 1 blood 2 bird 3 feathers 4 robin 5 chicken .... 6 *I need the final matrix to be formatted as based on the similarity ** A1 A2 A3 A4 ** A1 0 32 40 32 * *A2 32 0 49 38 ** A3 40 49 0 53 ** A4 32 38 53 0* *....* Are there any functions/packages that will make this easier? Thanks Ameneh [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.