[R] Matrix

Ashta sewashm at gmail.com
Sun Jul 17 00:25:34 CEST 2016


Hi all,

I have a large square matrix (60 x 60)  and found it hard to
visualize. Is it possible to change it  as shown below?

Sample example (3 x 3)

    A   B   C
A  3   4   5
B  4   7   8
C  5   8   9

Desired output
A A  3
A B  4
A C  5
B B  7
B C  8
C C  9

Thank you in advance



More information about the R-help mailing list