[R] simple question: reading lower triangular matrix

From: Rogério Rosa da Silva <rogeriorosas_at_gmail.com>
Date: Wed 13 Jul 2005 - 03:37:14 EST


Dear list,

I will like to learn how to read a lower triangular matrix in R. The input file *.txt have the following format:

     A B C D E
A 0
B 1 0
C 2 5 0
D 3 6 8 0
E 4 7 9 10 0

How this can be done?

Thanks in advance for your help

Rogério



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 13 03:43:35 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:34 EST