Hello is the dataset that was sent to help, has over two columns the source and destination, is the separation of position pos
POS DIF Source Dest 4 - 4 56 4 4 4 - 3 61 4 3 3 - 3 300 3 3 3 - 3 27 3 3 3 - 3 33 3 3 3 - 3 87 3 3 3 - 4 49 3 3 4 - 4 71 4 3 4 - 3 121 4 3 3 - 4 138 3 3 4 - 3 15 4 3 -- View this message in context: http://r.789695.n4.nabble.com/Matrix-Results-tp4468642p4468900.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.