[R] built a lower triangular matrix from dataframe

Rui Barradas rui1174 at sapo.pt
Thu Feb 16 17:22:25 CET 2012


Hello,

I'm glad it helped.

The difference in the ordering is due to the fact that R defaults to
column-first ordering.
David's solution uses row-first  (which is what you wanted).

Rui Barradas


--
View this message in context: http://r.789695.n4.nabble.com/built-a-lower-triangular-matrix-from-dataframe-tp4390813p4394543.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list