Hello All,
Is there a package to convert a matrix data frame to a dataframe with X,Y,Z columns. i wanted to make the dataframe so that i can use it plot as a scatter ( bubble) plot.
eg convert matrix of this form to
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9]
[1,] 534 0 0 0 0 0 0 0 0
[2,] 2 0 0 0 0 0 0 0 0
[3,] 10 17 0 0 0 0 0 0 0
[4,] 8 2 0 0 0 0 0 0 0
[5,] 14 2 17 0 0 0 0 0 0
[6,] 0 2 1 0 0 0 0 0 0
x y Z
1 1 534
1 2 2
1 3 10
1 4 8
1 5 4
1 6 ..
..
2 1
2 2
Thanks
Lalit