Re: [R] How to store a triangular matrix

2011-05-13 Thread David Winsemius
On May 13, 2011, at 10:52 AM, Estefania Ruiz Vargas wrote: Hello, I want to create a triangular matrix and only keep the lower triangle entries without having to allocate memory for the whole matrix, is there any way I can do something like A<-matrix(data, nrow=50) but for a triangular mat

[R] How to store a triangular matrix

2011-05-13 Thread Estefania Ruiz Vargas
Hello, I want to create a triangular matrix and only keep the lower triangle entries without having to allocate memory for the whole matrix, is there any way I can do something like  A<-matrix(data, nrow=50)  but for a triangular matrix? Thanks ERV [[alternative HTML version delet