[R] simple question: reading lower triangular matrix

Adaikalavan Ramasamy ramasamy at cancer.org.uk
Tue Jul 12 23:12:36 CEST 2005


This has been answered at the following URL

http://tolstoy.newcastle.edu.au/~rking/R/help/04/11/6695.html


On Tue, 2005-07-12 at 14:37 -0300, RogÃ©rio Rosa da Silva wrote:
> 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 at 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
>




More information about the R-help mailing list