Dear Mr. Rick Wicklin
I realy need to convert a sas data set includes column i , j , Y to a square matrix, how can i do that, i realy so pleased if you help me about that: for example:
i j Y
1 1 45
1 2 35
2 1 28
2 2 32

change to this matrix:
45 35
28 32
and for example when we don't have Y=28 it put Y=35 instade.